Title: [240556] trunk/Source/WebCore
Revision
240556
Author
[email protected]
Date
2019-01-27 15:51:29 -0800 (Sun, 27 Jan 2019)

Log Message

Remove a couple of PLATFORM defines intended for watchOS
https://bugs.webkit.org/show_bug.cgi?id=193888

Reviewed by Alexey Proskuryakov.

Remove the use of !PLATFORM(WATCH), since this is true on every platform.

* editing/cocoa/DictionaryLookup.mm:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (240555 => 240556)


--- trunk/Source/WebCore/ChangeLog	2019-01-27 20:44:05 UTC (rev 240555)
+++ trunk/Source/WebCore/ChangeLog	2019-01-27 23:51:29 UTC (rev 240556)
@@ -1,3 +1,14 @@
+2019-01-27  Wenson Hsieh  <[email protected]>
+
+        Remove a couple of PLATFORM defines intended for watchOS
+        https://bugs.webkit.org/show_bug.cgi?id=193888
+
+        Reviewed by Alexey Proskuryakov.
+
+        Remove the use of !PLATFORM(WATCH), since this is true on every platform.
+
+        * editing/cocoa/DictionaryLookup.mm:
+
 2019-01-27  Jiewen Tan  <[email protected]>
 
         Use a load optimizer for some sites

Modified: trunk/Source/WebCore/editing/cocoa/DictionaryLookup.mm (240555 => 240556)


--- trunk/Source/WebCore/editing/cocoa/DictionaryLookup.mm	2019-01-27 20:44:05 UTC (rev 240555)
+++ trunk/Source/WebCore/editing/cocoa/DictionaryLookup.mm	2019-01-27 23:51:29 UTC (rev 240556)
@@ -55,7 +55,7 @@
 
 #if PLATFORM(MAC)
 #import <Quartz/Quartz.h>
-#elif !PLATFORM(WATCH)
+#else
 #import <PDFKit/PDFKit.h>
 #endif
 
@@ -372,8 +372,6 @@
     return { nullptr, nil };
     
 }
-    
-#if !PLATFORM(WATCH)
 
 static void expandSelectionByCharacters(PDFSelection *selection, NSInteger numberOfCharactersToExpand, NSInteger& charactersAddedBeforeStart, NSInteger& charactersAddedAfterEnd)
 {
@@ -431,8 +429,6 @@
 
     return { @"", nil };
 }
-    
-#endif // !PLATFORM(WATCH)
 
 static WKRevealController showPopupOrCreateAnimationController(bool createAnimationController, const DictionaryPopupInfo& dictionaryPopupInfo, RevealView *view, const WTF::Function<void(TextIndicator&)>& textIndicatorInstallationCallback, const WTF::Function<FloatRect(FloatRect)>& rootViewToViewConversionCallback, WTF::Function<void()>&& clearTextIndicator)
 {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to