Title: [202321] trunk/Source/WebCore
Revision
202321
Author
[email protected]
Date
2016-06-21 22:00:16 -0700 (Tue, 21 Jun 2016)

Log Message

Let the compiler generate the move constructor and assignment operator for ScriptExecutionContext::Task
https://bugs.webkit.org/show_bug.cgi?id=159013

Reviewed by Brady Eidson.

Let the compiler generate the move constructor and assignment operator for
ScriptExecutionContext::Task. We previously manually defined the move
constructor but there is no need as it doesn't do anything special.

* dom/ScriptExecutionContext.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (202320 => 202321)


--- trunk/Source/WebCore/ChangeLog	2016-06-22 03:53:47 UTC (rev 202320)
+++ trunk/Source/WebCore/ChangeLog	2016-06-22 05:00:16 UTC (rev 202321)
@@ -1,3 +1,16 @@
+2016-06-21  Chris Dumez  <[email protected]>
+
+        Let the compiler generate the move constructor and assignment operator for ScriptExecutionContext::Task
+        https://bugs.webkit.org/show_bug.cgi?id=159013
+
+        Reviewed by Brady Eidson.
+
+        Let the compiler generate the move constructor and assignment operator for
+        ScriptExecutionContext::Task. We previously manually defined the move
+        constructor but there is no need as it doesn't do anything special.
+
+        * dom/ScriptExecutionContext.h:
+
 2016-06-21  Dean Jackson  <[email protected]>
 
         DumpRenderTree crashed in com.apple.WebCore: WebCore::HTMLSelectElement::updateSelectedState

Modified: trunk/Source/WebCore/dom/ScriptExecutionContext.h (202320 => 202321)


--- trunk/Source/WebCore/dom/ScriptExecutionContext.h	2016-06-22 03:53:47 UTC (rev 202320)
+++ trunk/Source/WebCore/dom/ScriptExecutionContext.h	2016-06-22 05:00:16 UTC (rev 202321)
@@ -158,12 +158,6 @@
         {
         }
 
-        Task(Task&& other)
-            : m_task(WTFMove(other.m_task))
-            , m_isCleanupTask(other.m_isCleanupTask)
-        {
-        }
-
         void performTask(ScriptExecutionContext& context) { m_task(context); }
         bool isCleanupTask() const { return m_isCleanupTask; }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to