Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
electron
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
ExcellentOSS
electron
Commits
1f88f2d5
Unverified
Commit
1f88f2d5
authored
1 year ago
by
VerteDinde
Browse files
Options
Downloads
Patches
Plain Diff
chore: update patches after focus ring was merged
parent
ea3001dd
Branches
fix-patches-31-focus-ring
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
patches/chromium/fix_partially_revert_invalidate_focusring.patch
+5
-5
5 additions, 5 deletions
.../chromium/fix_partially_revert_invalidate_focusring.patch
with
5 additions
and
5 deletions
patches/chromium/fix_partially_revert_invalidate_focusring.patch
+
5
−
5
View file @
1f88f2d5
...
...
@@ -10,10 +10,10 @@ distros. This patch can be reverted when the issue is fixed upstream, or
when the crash is addressed.
diff --git a/ui/views/view.cc b/ui/views/view.cc
index
94b026cda4738e489f1d7201c996f6db70d018ed..32ec794f
46
8
3b
e5ded78dcf310d3623b8748c236
100644
index
4116b2a3fad02e1060bb7b137804753cf97dd7ca..
46
d
3b
426f54041efe4270bfda453358418fff160
100644
--- a/ui/views/view.cc
+++ b/ui/views/view.cc
@@ -9
11
,16 +9
11
,6 @@
void View::Layout(PassKey) {
@@ -9
28
,16 +9
28
,6 @@
void View::Layout(PassKey) {
}
void View::InvalidateLayout() {
...
...
@@ -30,7 +30,7 @@ index 94b026cda4738e489f1d7201c996f6db70d018ed..32ec794f4683be5ded78dcf310d3623b
// We should never need to invalidate during a layout call; this tracks
// how many times that is happening.
++invalidates_during_layout_;
@@ -9
28
,11 +9
18
,6 @@
void View::InvalidateLayout() {
@@ -9
45
,11 +9
35
,6 @@
void View::InvalidateLayout() {
// Always invalidate up. This is needed to handle the case of us already being
// valid, but not our parent.
needs_layout_ = true;
...
...
@@ -43,10 +43,10 @@ index 94b026cda4738e489f1d7201c996f6db70d018ed..32ec794f4683be5ded78dcf310d3623b
GetLayoutManager()->InvalidateLayout();
}
diff --git a/ui/views/view.h b/ui/views/view.h
index
ea7d5441dbbfb713a6ffb57bcc07fb55fa574016..54b4c0a2871f214a4806fd863f32b8d010c09058
100644
index
8f377e417231698b9146d5b79dc14730e34260f7..9936899e10505f57d3b465d5613d90df8d18ded3
100644
--- a/ui/views/view.h
+++ b/ui/views/view.h
@@ -23
4
3,9 +23
4
3,6 @@
class VIEWS_EXPORT View : public ui::LayerDelegate,
@@ -233
9
,9 +233
9
,6 @@
class VIEWS_EXPORT View : public ui::LayerDelegate,
// it is happening.
int invalidates_during_layout_ = 0;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment