| 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 b64835bac67538a6995d560799297027e2824b24..a111785353deacf144ae676561eccc479a1dd0dc 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
|
|
|