Title: [194047] trunk/Source/WebCore
Revision
194047
Author
[email protected]
Date
2015-12-14 11:58:14 -0800 (Mon, 14 Dec 2015)

Log Message

Remove some Mavericks guards in ServicesOverlayController
https://bugs.webkit.org/show_bug.cgi?id=152238

Reviewed by Darin Adler.

* page/mac/ServicesOverlayController.mm:
(WebCore::ServicesOverlayController::selectionRectsDidChange): Deleted.
(WebCore::ServicesOverlayController::selectedTelephoneNumberRangesChanged): Deleted.
The whole file is already PLATFORM(MAC) guarded, and the 10.9 guards
are no longer necessary.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (194046 => 194047)


--- trunk/Source/WebCore/ChangeLog	2015-12-14 19:55:46 UTC (rev 194046)
+++ trunk/Source/WebCore/ChangeLog	2015-12-14 19:58:14 UTC (rev 194047)
@@ -1,3 +1,16 @@
+2015-12-14  Tim Horton  <[email protected]>
+
+        Remove some Mavericks guards in ServicesOverlayController
+        https://bugs.webkit.org/show_bug.cgi?id=152238
+
+        Reviewed by Darin Adler.
+
+        * page/mac/ServicesOverlayController.mm:
+        (WebCore::ServicesOverlayController::selectionRectsDidChange): Deleted.
+        (WebCore::ServicesOverlayController::selectedTelephoneNumberRangesChanged): Deleted.
+        The whole file is already PLATFORM(MAC) guarded, and the 10.9 guards
+        are no longer necessary.
+
 2015-12-14  Daniel Bates  <[email protected]>
 
         [iOS] DOM click event may not be dispatched when page has :active style and <input type="search">

Modified: trunk/Source/WebCore/page/mac/ServicesOverlayController.mm (194046 => 194047)


--- trunk/Source/WebCore/page/mac/ServicesOverlayController.mm	2015-12-14 19:55:46 UTC (rev 194046)
+++ trunk/Source/WebCore/page/mac/ServicesOverlayController.mm	2015-12-14 19:58:14 UTC (rev 194047)
@@ -366,7 +366,6 @@
 
 void ServicesOverlayController::selectionRectsDidChange(const Vector<LayoutRect>& rects, const Vector<GapRects>& gapRects, bool isTextOnly)
 {
-#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED > 1090
     m_currentSelectionRects = rects;
     m_isTextOnly = isTextOnly;
 
@@ -379,19 +378,12 @@
 
     LOG(Services, "ServicesOverlayController - Selection rects changed - Now have %lu\n", rects.size());
     invalidateHighlightsOfType(Highlight::SelectionType);
-#else
-    UNUSED_PARAM(rects);
-    UNUSED_PARAM(gapRects);
-    UNUSED_PARAM(isTextOnly);
-#endif
 }
 
 void ServicesOverlayController::selectedTelephoneNumberRangesChanged()
 {
-#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED > 1090
     LOG(Services, "ServicesOverlayController - Telephone number ranges changed\n");
     invalidateHighlightsOfType(Highlight::TelephoneNumberType);
-#endif
 }
 
 void ServicesOverlayController::invalidateHighlightsOfType(Highlight::Type type)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to