| Index: third_party/WebKit/Source/core/workers/WorkerThread.cpp
|
| diff --git a/third_party/WebKit/Source/core/workers/WorkerThread.cpp b/third_party/WebKit/Source/core/workers/WorkerThread.cpp
|
| index 6b9fdb892abd266bb2abf9029b819d9dcde32864..a428a432428e7e3e24d8455437df7bb8f924c786 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerThread.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerThread.cpp
|
| @@ -199,6 +199,13 @@ void WorkerThread::postTask(const WebTraceLocation& location,
|
| WTF::passed(std::move(task))));
|
| }
|
|
|
| +void WorkerThread::postTask(const WebTraceLocation& location,
|
| + std::unique_ptr<WTF::CrossThreadClosure> task) {
|
| + std::unique_ptr<ExecutionContextTask> wrappedTask = createCrossThreadTask(
|
| + &WTF::CrossThreadClosure::operator(), WTF::passed(std::move(task)));
|
| + postTask(location, std::move(wrappedTask));
|
| +}
|
| +
|
| void WorkerThread::appendDebuggerTask(
|
| std::unique_ptr<CrossThreadClosure> task) {
|
| DCHECK(isMainThread());
|
|
|