Title: [253094] trunk/Source/WebCore
Revision
253094
Author
[email protected]
Date
2019-12-03 22:30:19 -0800 (Tue, 03 Dec 2019)

Log Message

Remove unused DragController::client()
https://bugs.webkit.org/show_bug.cgi?id=204837

Reviewed by Wenson Hsieh.

It has never been used since its inception in r19039. Moreover it exposes DragController's
internals, which diminishes its encapsulation capabilities.

* page/DragController.h:
(WebCore::DragController::client const): Deleted.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (253093 => 253094)


--- trunk/Source/WebCore/ChangeLog	2019-12-04 05:48:46 UTC (rev 253093)
+++ trunk/Source/WebCore/ChangeLog	2019-12-04 06:30:19 UTC (rev 253094)
@@ -1,3 +1,16 @@
+2019-12-03  Daniel Bates  <[email protected]>
+
+        Remove unused DragController::client()
+        https://bugs.webkit.org/show_bug.cgi?id=204837
+
+        Reviewed by Wenson Hsieh.
+
+        It has never been used since its inception in r19039. Moreover it exposes DragController's
+        internals, which diminishes its encapsulation capabilities.
+
+        * page/DragController.h:
+        (WebCore::DragController::client const): Deleted.
+
 2019-12-03  Megan Gardner  <[email protected]>
 
         Add disabled highlight API skeleton

Modified: trunk/Source/WebCore/page/DragController.h (253093 => 253094)


--- trunk/Source/WebCore/page/DragController.h	2019-12-04 05:48:46 UTC (rev 253093)
+++ trunk/Source/WebCore/page/DragController.h	2019-12-04 06:30:19 UTC (rev 253094)
@@ -59,8 +59,6 @@
         static std::unique_ptr<DragController> create(Page&, DragClient&);
         static DragOperation platformGenericDragOperation();
 
-        DragClient& client() const { return m_client; }
-
         WEBCORE_EXPORT DragOperation dragEntered(const DragData&);
         WEBCORE_EXPORT void dragExited(const DragData&);
         WEBCORE_EXPORT DragOperation dragUpdated(const DragData&);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to