| Index: third_party/WebKit/Source/platform/WebThreadSupportingGC.h
|
| diff --git a/third_party/WebKit/Source/platform/WebThreadSupportingGC.h b/third_party/WebKit/Source/platform/WebThreadSupportingGC.h
|
| index cc69582fad722b27e5c494a7022159f6f801e083..32ea91a4ae037f8cfa9aceaf2c9839bf73a5d257 100644
|
| --- a/third_party/WebKit/Source/platform/WebThreadSupportingGC.h
|
| +++ b/third_party/WebKit/Source/platform/WebThreadSupportingGC.h
|
| @@ -33,12 +33,22 @@ public:
|
| static PassOwnPtr<WebThreadSupportingGC> createForThread(WebThread*);
|
| ~WebThreadSupportingGC();
|
|
|
| - void postTask(const WebTraceLocation& location, PassOwnPtr<Closure> task)
|
| + void postTask(const WebTraceLocation& location, PassOwnPtr<SameThreadClosure> task)
|
| {
|
| m_thread->getWebTaskRunner()->postTask(location, task);
|
| }
|
|
|
| - void postDelayedTask(const WebTraceLocation& location, PassOwnPtr<Closure> task, long long delayMs)
|
| + void postDelayedTask(const WebTraceLocation& location, PassOwnPtr<SameThreadClosure> task, long long delayMs)
|
| + {
|
| + m_thread->getWebTaskRunner()->postDelayedTask(location, task, delayMs);
|
| + }
|
| +
|
| + void postTask(const WebTraceLocation& location, PassOwnPtr<CrossThreadClosure> task)
|
| + {
|
| + m_thread->getWebTaskRunner()->postTask(location, task);
|
| + }
|
| +
|
| + void postDelayedTask(const WebTraceLocation& location, PassOwnPtr<CrossThreadClosure> task, long long delayMs)
|
| {
|
| m_thread->getWebTaskRunner()->postDelayedTask(location, task, delayMs);
|
| }
|
|
|