Index: Source/platform/WebTaskRunner.cpp |
diff --git a/Source/platform/WebTaskRunner.cpp b/Source/platform/WebTaskRunner.cpp |
index 882b359dd7ca58eabf5fc8cd8cd38eb8ff5c595d..435a90c8756e5d32253ca9947cc95f9c6dcf0533 100644 |
--- a/Source/platform/WebTaskRunner.cpp |
+++ b/Source/platform/WebTaskRunner.cpp |
@@ -9,6 +9,19 @@ |
namespace blink { |
-// TODO(alexclarke): dd helpers for posting bound functions as tasks. |
+void WebTaskRunner::postTask(const WebTraceLocation& location, PassOwnPtr<ClosureTask> task) |
+{ |
+ postTask(location, new blink::Task(task)); |
+} |
+ |
+void WebTaskRunner::postDelayedTask(const WebTraceLocation& location, PassOwnPtr <ClosureTask> task, long long delayMs) |
+{ |
+ postDelayedTask(location, new blink::Task(task), delayMs); |
+} |
+ |
+void WebTaskRunner::postDelayedTask(const WebTraceLocation& location, PassOwnPtr <ClosureTask> task, double delayMs) |
+{ |
+ postDelayedTask(location, new blink::Task(task), delayMs); |
+} |
} // namespace blink |