Title: [240179] trunk/Source/WebCore
Revision
240179
Author
[email protected]
Date
2019-01-18 15:05:57 -0800 (Fri, 18 Jan 2019)

Log Message

Another attempt to fix the iOS build following <https://trac.webkit.org/changeset/240174>
(https://bugs.webkit.org/show_bug.cgi?id=193583)

Only override RenderTheme::platformFocusRingColor() when building with ENABLE(FULL_KEYBOARD_ACCESS)
enabled.

* rendering/RenderThemeIOS.h:
* rendering/RenderThemeIOS.mm:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (240178 => 240179)


--- trunk/Source/WebCore/ChangeLog	2019-01-18 23:02:55 UTC (rev 240178)
+++ trunk/Source/WebCore/ChangeLog	2019-01-18 23:05:57 UTC (rev 240179)
@@ -1,5 +1,16 @@
 2019-01-18  Daniel Bates  <[email protected]>
 
+        Another attempt to fix the iOS build following <https://trac.webkit.org/changeset/240174>
+        (https://bugs.webkit.org/show_bug.cgi?id=193583)
+
+        Only override RenderTheme::platformFocusRingColor() when building with ENABLE(FULL_KEYBOARD_ACCESS)
+        enabled.
+
+        * rendering/RenderThemeIOS.h:
+        * rendering/RenderThemeIOS.mm:
+
+2019-01-18  Daniel Bates  <[email protected]>
+
         Attempt to fix the iOS build following <https://trac.webkit.org/changeset/240174>
         (https://bugs.webkit.org/show_bug.cgi?id=193583)
 

Modified: trunk/Source/WebCore/rendering/RenderThemeIOS.h (240178 => 240179)


--- trunk/Source/WebCore/rendering/RenderThemeIOS.h	2019-01-18 23:02:55 UTC (rev 240178)
+++ trunk/Source/WebCore/rendering/RenderThemeIOS.h	2019-01-18 23:05:57 UTC (rev 240179)
@@ -113,7 +113,9 @@
 
     Color platformActiveSelectionBackgroundColor(OptionSet<StyleColor::Options>) const override;
     Color platformInactiveSelectionBackgroundColor(OptionSet<StyleColor::Options>) const override;
+#if ENABLE(FULL_KEYBOARD_ACCESS)
     Color platformFocusRingColor(OptionSet<StyleColor::Options>) const final;
+#endif
 
 #if ENABLE(TOUCH_EVENTS)
     Color platformTapHighlightColor() const override { return 0x4D1A1A1A; }

Modified: trunk/Source/WebCore/rendering/RenderThemeIOS.mm (240178 => 240179)


--- trunk/Source/WebCore/rendering/RenderThemeIOS.mm	2019-01-18 23:02:55 UTC (rev 240178)
+++ trunk/Source/WebCore/rendering/RenderThemeIOS.mm	2019-01-18 23:05:57 UTC (rev 240179)
@@ -1123,10 +1123,12 @@
     return Color::transparent;
 }
 
+#if ENABLE(FULL_KEYBOARD_ACCESS)
 Color RenderThemeIOS::platformFocusRingColor(OptionSet<StyleColor::Options>) const
 {
     return colorFromUIColor([PAL::getUIColorClass() keyboardFocusIndicatorColor]);
 }
+#endif
 
 bool RenderThemeIOS::shouldHaveSpinButton(const HTMLInputElement&) const
 {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to