Unreviewed, another build fix attempt after r223031
authorwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 Oct 2017 18:04:00 +0000 (18:04 +0000)
committerwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 Oct 2017 18:04:00 +0000 (18:04 +0000)
The default constructor of DragTargetResponse is also invoked via initializer list in EventHandler.cpp, so we'll
need to explicitly declare this constructor in the header.

* page/EventHandler.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@223054 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/page/EventHandler.h

index 380ed235c9a28082183536b06547365cd96497b0..2dcbffce9f06215236bf1dd87ec10d9736139676 100644 (file)
@@ -1,3 +1,12 @@
+2017-10-09  Wenson Hsieh  <wenson_hsieh@apple.com>
+
+        Unreviewed, another build fix attempt after r223031
+
+        The default constructor of DragTargetResponse is also invoked via initializer list in EventHandler.cpp, so we'll
+        need to explicitly declare this constructor in the header.
+
+        * page/EventHandler.h:
+
 2017-10-09  Ryan Haddad  <ryanhaddad@apple.com>
 
         Unreviewed, rolling out r223021.
index c801198ea274f6dbd6312eb7eb8e5b576f7ee875..5c04728fb7d0115700ef36acfd6831e8d03061c4 100644 (file)
@@ -158,6 +158,7 @@ public:
 #if ENABLE(DRAG_SUPPORT)
     struct DragTargetResponse {
 #if !COMPILER_SUPPORTS(NSDMI_FOR_AGGREGATES)
+        DragTargetResponse() = default;
         DragTargetResponse(bool accept, std::optional<DragOperation> operation)
             : accept(accept)
             , operation(operation)