| 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 32ea91a4ae037f8cfa9aceaf2c9839bf73a5d257..883e9d6db75af30d32a55aeebd3d8ca0c1791641 100644
|
| --- a/third_party/WebKit/Source/platform/WebThreadSupportingGC.h
|
| +++ b/third_party/WebKit/Source/platform/WebThreadSupportingGC.h
|
| @@ -35,22 +35,22 @@ public:
|
|
|
| void postTask(const WebTraceLocation& location, PassOwnPtr<SameThreadClosure> task)
|
| {
|
| - m_thread->getWebTaskRunner()->postTask(location, task);
|
| + m_thread->getWebTaskRunner()->postTask(location, std::move(task));
|
| }
|
|
|
| void postDelayedTask(const WebTraceLocation& location, PassOwnPtr<SameThreadClosure> task, long long delayMs)
|
| {
|
| - m_thread->getWebTaskRunner()->postDelayedTask(location, task, delayMs);
|
| + m_thread->getWebTaskRunner()->postDelayedTask(location, std::move(task), delayMs);
|
| }
|
|
|
| void postTask(const WebTraceLocation& location, PassOwnPtr<CrossThreadClosure> task)
|
| {
|
| - m_thread->getWebTaskRunner()->postTask(location, task);
|
| + m_thread->getWebTaskRunner()->postTask(location, std::move(task));
|
| }
|
|
|
| void postDelayedTask(const WebTraceLocation& location, PassOwnPtr<CrossThreadClosure> task, long long delayMs)
|
| {
|
| - m_thread->getWebTaskRunner()->postDelayedTask(location, task, delayMs);
|
| + m_thread->getWebTaskRunner()->postDelayedTask(location, std::move(task), delayMs);
|
| }
|
|
|
| bool isCurrentThread() const
|
|
|