Skip to content

Commit 141cfec

Browse files
committed
Bug 1530193 - followup: Fix default type and value of browser.display.focus_ring_style.
It warns on debug builds. UltraBlame original commit: a96130bc4159d683e559b763d18d36bc5d4b2b44
1 parent 59dd44d commit 141cfec

File tree

4 files changed

+12
-23
lines changed

4 files changed

+12
-23
lines changed

layout/base/nsPresContext.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1259,10 +1259,6 @@ mSendAfterPaintToContent
12591259
(
12601260
false
12611261
)
1262-
mUseFocusColors
1263-
(
1264-
false
1265-
)
12661262
mDrawImageBackground
12671263
(
12681264
true

layout/base/nsPresContext.h

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7281,21 +7281,6 @@ mSendAfterPaintToContent
72817281
1
72827282
;
72837283
unsigned
7284-
mUseFocusColors
7285-
:
7286-
1
7287-
;
7288-
unsigned
7289-
mFocusRingOnAnything
7290-
:
7291-
1
7292-
;
7293-
unsigned
7294-
mFocusRingStyle
7295-
:
7296-
1
7297-
;
7298-
unsigned
72997284
mDrawImageBackground
73007285
:
73017286
1

layout/style/PreferenceSheet.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,10 +244,10 @@ mFocusRingWidth
244244
=
245245
1
246246
;
247-
bool
247+
uint8_t
248248
mFocusRingStyle
249249
=
250-
false
250+
1
251251
;
252252
bool
253253
mFocusRingOnAnything

modules/libpref/init/StaticPrefList.h

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3869,6 +3869,14 @@ browser_display_focus_ring_width
38693869
uint32_t
38703870
1
38713871
)
3872+
/
3873+
/
3874+
0
3875+
=
3876+
solid
3877+
1
3878+
=
3879+
dotted
38723880
VARCACHE_PREF
38733881
(
38743882
"
@@ -3879,8 +3887,8 @@ display
38793887
focus_ring_style
38803888
"
38813889
browser_display_focus_ring_style
3882-
bool
3883-
false
3890+
uint32_t
3891+
1
38843892
)
38853893
VARCACHE_PREF
38863894
(

0 commit comments

Comments
 (0)