Title: [202442] trunk/Source/WebCore
Revision
202442
Author
[email protected]
Date
2016-06-24 13:18:46 -0700 (Fri, 24 Jun 2016)

Log Message

Windows build fix.

* platform/GenericTaskQueue.h:
(WebCore::TaskDispatcher::postTask):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (202441 => 202442)


--- trunk/Source/WebCore/ChangeLog	2016-06-24 20:17:15 UTC (rev 202441)
+++ trunk/Source/WebCore/ChangeLog	2016-06-24 20:18:46 UTC (rev 202442)
@@ -1,3 +1,10 @@
+2016-06-24  Anders Carlsson  <[email protected]>
+
+        Windows build fix.
+
+        * platform/GenericTaskQueue.h:
+        (WebCore::TaskDispatcher::postTask):
+
 2016-06-24  Frederic Wang  <[email protected]>
 
         Use auto* for MathML elements and renderers when possible

Modified: trunk/Source/WebCore/platform/GenericTaskQueue.h (202441 => 202442)


--- trunk/Source/WebCore/platform/GenericTaskQueue.h	2016-06-24 20:17:15 UTC (rev 202441)
+++ trunk/Source/WebCore/platform/GenericTaskQueue.h	2016-06-24 20:18:46 UTC (rev 202442)
@@ -40,7 +40,7 @@
     {
     }
 
-    void postTask(Function<void()>&& f)
+    void postTask(WTF::Function<void()>&& f)
     {
         m_context.postTask(WTFMove(f));
     }
@@ -53,7 +53,7 @@
 class TaskDispatcher<Timer> {
 public:
     TaskDispatcher();
-    void postTask(Function<void()>&&);
+    void postTask(WTF::Function<void()>&&);
 
 private:
     static Timer& sharedTimer();
@@ -63,7 +63,7 @@
     void dispatchOneTask();
 
     WeakPtrFactory<TaskDispatcher> m_weakPtrFactory;
-    Deque<Function<void()>> m_pendingTasks;
+    Deque<WTF::Function<void()>> m_pendingTasks;
 };
 
 template <typename T>
@@ -81,7 +81,7 @@
     {
     }
 
-    typedef Function<void()> TaskFunction;
+    typedef WTF::Function<void ()> TaskFunction;
 
     void enqueueTask(TaskFunction&& task)
     {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to