| Index: third_party/WebKit/Source/core/dom/MainThreadTaskRunner.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/MainThreadTaskRunner.cpp b/third_party/WebKit/Source/core/dom/MainThreadTaskRunner.cpp
|
| index 2e12533e55dd17d66fb3cba0ae9181a5ff995d0c..2ffa0a1b262217aae6421043d8362a0eed2c11a5 100644
|
| --- a/third_party/WebKit/Source/core/dom/MainThreadTaskRunner.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/MainThreadTaskRunner.cpp
|
| @@ -29,7 +29,7 @@
|
| #include "core/dom/ExecutionContext.h"
|
| #include "core/dom/ExecutionContextTask.h"
|
| #include "core/inspector/InspectorInstrumentation.h"
|
| -#include "platform/ThreadSafeFunctional.h"
|
| +#include "platform/CrossThreadFunctional.h"
|
| #include "public/platform/Platform.h"
|
| #include "wtf/Assertions.h"
|
|
|
| @@ -49,7 +49,7 @@ MainThreadTaskRunner::~MainThreadTaskRunner()
|
|
|
| void MainThreadTaskRunner::postTaskInternal(const WebTraceLocation& location, std::unique_ptr<ExecutionContextTask> task, bool isInspectorTask, bool instrumenting)
|
| {
|
| - Platform::current()->mainThread()->getWebTaskRunner()->postTask(location, threadSafeBind(
|
| + Platform::current()->mainThread()->getWebTaskRunner()->postTask(location, crossThreadBind(
|
| &MainThreadTaskRunner::perform,
|
| m_weakFactory.createWeakPtr(),
|
| passed(std::move(task)),
|
|
|