Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2019)

Unified Diff: Source/platform/WebThread.cpp

Issue 1303153005: Introduce WebTaskRunner Patch 3/5 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add missing #include Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/WebTaskRunner.cpp ('k') | Source/platform/WebThreadSupportingGC.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/platform/WebTaskRunner.cpp ('k') | Source/platform/WebThreadSupportingGC.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698