Title: [273453] trunk/Source
Revision
273453
Author
cdu...@apple.com
Date
2021-02-24 16:15:03 -0800 (Wed, 24 Feb 2021)

Log Message

Unreviewed, fix build with the latest iOS SDK.

Source/WebCore:

* platform/DragData.h:
(WebCore::DragData::operator=): Deleted.

Source/WebKit:

* Shared/FocusedElementInformation.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (273452 => 273453)


--- trunk/Source/WebCore/ChangeLog	2021-02-25 00:08:23 UTC (rev 273452)
+++ trunk/Source/WebCore/ChangeLog	2021-02-25 00:15:03 UTC (rev 273453)
@@ -1,5 +1,12 @@
 2021-02-24  Chris Dumez  <cdu...@apple.com>
 
+        Unreviewed, fix build with the latest iOS SDK.
+
+        * platform/DragData.h:
+        (WebCore::DragData::operator=): Deleted.
+
+2021-02-24  Chris Dumez  <cdu...@apple.com>
+
         Device motion / orientation events not working in third-party iframes despite Feature-Policy allowing it
         https://bugs.webkit.org/show_bug.cgi?id=221399
         <rdar://problem/74229227>

Modified: trunk/Source/WebCore/platform/DragData.h (273452 => 273453)


--- trunk/Source/WebCore/platform/DragData.h	2021-02-25 00:08:23 UTC (rev 273452)
+++ trunk/Source/WebCore/platform/DragData.h	2021-02-25 00:15:03 UTC (rev 273453)
@@ -116,25 +116,6 @@
 
     Optional<PageIdentifier> pageID() const { return m_pageID; }
 
-    DragData& operator=(const DragData& data)
-    {
-        m_clientPosition = data.m_clientPosition;
-        m_globalPosition = data.m_globalPosition;
-        m_platformDragData = data.m_platformDragData;
-        m_draggingSourceOperationMask = data.m_draggingSourceOperationMask;
-        m_applicationFlags = data.m_applicationFlags;
-        m_fileNames = data.m_fileNames;
-        m_dragDestinationActionMask = data.m_dragDestinationActionMask;
-        m_pageID = data.m_pageID;
-#if PLATFORM(COCOA)
-        m_pasteboardName = data.m_pasteboardName;
-#endif
-#if PLATFORM(WIN)
-        m_dragDataMap = data.m_dragDataMap;
-#endif
-        return *this;
-    }
-
     std::unique_ptr<PasteboardContext> createPasteboardContext() const;
 
 private:

Modified: trunk/Source/WebKit/ChangeLog (273452 => 273453)


--- trunk/Source/WebKit/ChangeLog	2021-02-25 00:08:23 UTC (rev 273452)
+++ trunk/Source/WebKit/ChangeLog	2021-02-25 00:15:03 UTC (rev 273453)
@@ -1,3 +1,9 @@
+2021-02-24  Chris Dumez  <cdu...@apple.com>
+
+        Unreviewed, fix build with the latest iOS SDK.
+
+        * Shared/FocusedElementInformation.h:
+
 2021-02-24  Per Arne Vollan  <pvol...@apple.com>
 
         [iOS] Get default value in the UI process for whether synchronous XMLHttpRequest are allowed during unload

Modified: trunk/Source/WebKit/Shared/FocusedElementInformation.h (273452 => 273453)


--- trunk/Source/WebKit/Shared/FocusedElementInformation.h	2021-02-25 00:08:23 UTC (rev 273452)
+++ trunk/Source/WebKit/Shared/FocusedElementInformation.h	2021-02-25 00:15:03 UTC (rev 273453)
@@ -66,17 +66,8 @@
 
 #if PLATFORM(IOS_FAMILY)
 struct OptionItem {
-    OptionItem() { }
+    OptionItem() = default;
 
-    OptionItem(const OptionItem& item)
-        : text(item.text)
-        , isGroup(item.isGroup)
-        , isSelected(item.isSelected)
-        , disabled(item.disabled)
-        , parentGroupID(item.parentGroupID)
-    {
-    }
-
     OptionItem(const String& text, bool isGroup, int parentID, bool selected, bool disabled)
         : text(text)
         , isGroup(isGroup)
@@ -85,6 +76,7 @@
         , parentGroupID(parentID)
     {
     }
+
     String text;
     bool isGroup { false };
     bool isSelected { false };
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to