Title: [290446] trunk/Source/WebKit
Revision
290446
Author
[email protected]
Date
2022-02-24 11:47:41 -0800 (Thu, 24 Feb 2022)

Log Message

Regression(r273929) FrameState no longer gets a move constructor
https://bugs.webkit.org/show_bug.cgi?id=237142

Reviewed by Darin Adler.

FrameState no longer gets an implicit move constructor since r273929 because a custom
destructor was added.

* Shared/SessionState.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (290445 => 290446)


--- trunk/Source/WebKit/ChangeLog	2022-02-24 19:41:30 UTC (rev 290445)
+++ trunk/Source/WebKit/ChangeLog	2022-02-24 19:47:41 UTC (rev 290446)
@@ -1,3 +1,15 @@
+2022-02-24  Chris Dumez  <[email protected]>
+
+        Regression(r273929) FrameState no longer gets a move constructor
+        https://bugs.webkit.org/show_bug.cgi?id=237142
+
+        Reviewed by Darin Adler.
+
+        FrameState no longer gets an implicit move constructor since r273929 because a custom
+        destructor was added.
+
+        * Shared/SessionState.h:
+
 2022-02-24  Kate Cheney  <[email protected]>
 
         Update CSP console logging

Modified: trunk/Source/WebKit/Shared/SessionState.h (290445 => 290446)


--- trunk/Source/WebKit/Shared/SessionState.h	2022-02-24 19:41:30 UTC (rev 290445)
+++ trunk/Source/WebKit/Shared/SessionState.h	2022-02-24 19:47:41 UTC (rev 290446)
@@ -86,6 +86,11 @@
     // These are used to help debug <rdar://problem/48634553>.
     FrameState() { RELEASE_ASSERT(RunLoop::isMain()); }
     ~FrameState() { RELEASE_ASSERT(RunLoop::isMain()); }
+    FrameState(const FrameState&) = default;
+    FrameState(FrameState&&) = default;
+    FrameState& operator=(const FrameState&) = default;
+    FrameState& operator=(FrameState&&) = default;
+
     const Vector<String>& documentState() const { return m_documentState; }
     enum class ShouldValidate : bool { No, Yes };
     void setDocumentState(const Vector<String>&, ShouldValidate = ShouldValidate::No);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to