Title: [240185] trunk/Source/WebCore
Revision
240185
Author
dba...@webkit.org
Date
2019-01-18 15:45:42 -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)

Substitute ENABLE(FULL_KEYBOARD_ACCESS) for PLATFORM(MAC). On Mac, we always build with
ENABLE(FULL_KEYBOARD_ACCESS) enabled.

* rendering/RenderElement.cpp:
(WebCore::RenderElement::paintFocusRing):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (240184 => 240185)


--- trunk/Source/WebCore/ChangeLog	2019-01-18 23:44:31 UTC (rev 240184)
+++ trunk/Source/WebCore/ChangeLog	2019-01-18 23:45:42 UTC (rev 240185)
@@ -1,5 +1,16 @@
 2019-01-18  Daniel Bates  <daba...@apple.com>
 
+        Another attempt to fix the iOS build following <https://trac.webkit.org/changeset/240174>
+        (https://bugs.webkit.org/show_bug.cgi?id=193583)
+
+        Substitute ENABLE(FULL_KEYBOARD_ACCESS) for PLATFORM(MAC). On Mac, we always build with
+        ENABLE(FULL_KEYBOARD_ACCESS) enabled.
+
+        * rendering/RenderElement.cpp:
+        (WebCore::RenderElement::paintFocusRing):
+
+2019-01-18  Daniel Bates  <daba...@apple.com>
+
         Fix some build issues.
 
         Including UIKitSoftLinking.h is not compatible with unified builds.

Modified: trunk/Source/WebCore/rendering/RenderElement.cpp (240184 => 240185)


--- trunk/Source/WebCore/rendering/RenderElement.cpp	2019-01-18 23:44:31 UTC (rev 240184)
+++ trunk/Source/WebCore/rendering/RenderElement.cpp	2019-01-18 23:45:42 UTC (rev 240185)
@@ -1820,7 +1820,7 @@
         pixelSnappedFocusRingRects.append(snapRectToDevicePixels(rect, deviceScaleFactor));
     }
     // FIXME: The following code should only be compiled for Mac. See <https://bugs.webkit.org/show_bug.cgi?id=193591>.
-#if PLATFORM(COCOA)
+#if ENABLE(FULL_KEYBOARD_ACCESS)
     bool needsRepaint;
     if (style.hasBorderRadius()) {
         Path path = PathUtilities::pathWithShrinkWrappedRectsForOutline(pixelSnappedFocusRingRects, style.border(), outlineOffset, style.direction(), style.writingMode(),
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to