Index: Source/platform/WebThread.cpp |
diff --git a/Source/platform/WebThread.cpp b/Source/platform/WebThread.cpp |
index 8c2b1dce66cc51eaac288f1c430b49b1e747df76..4185f53f92a555fd4fcc5deab7fc764c4f9bcff0 100644 |
--- a/Source/platform/WebThread.cpp |
+++ b/Source/platform/WebThread.cpp |
@@ -5,10 +5,7 @@ |
#include "config.h" |
#include "public/platform/WebThread.h" |
-#include "platform/Task.h" |
-#include "public/platform/WebTraceLocation.h" |
#include "wtf/Assertions.h" |
-#include "wtf/OwnPtr.h" |
#if OS(WIN) |
#include <windows.h> |
@@ -26,14 +23,4 @@ static_assert(sizeof(blink::PlatformThreadId) >= sizeof(pid_t), "size of platfor |
#error Unexpected platform |
#endif |
-void WebThread::postTask(const WebTraceLocation& location, PassOwnPtr<Function<void()>> function) |
-{ |
- postTask(location, new blink::Task(function)); |
-} |
- |
-void WebThread::postDelayedTask(const WebTraceLocation& location, PassOwnPtr<Function<void()>> function, long long delayMs) |
-{ |
- postDelayedTask(location, new blink::Task(function), delayMs); |
-} |
- |
} // namespace blink |