| Index: third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreatorTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreatorTest.cpp b/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreatorTest.cpp
|
| index cee39a37b4c887e998815ba118c38c2a1646166a..0a3c5463b61af8185e17ea50f045b4792f6d3ee3 100644
|
| --- a/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreatorTest.cpp
|
| +++ b/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreatorTest.cpp
|
| @@ -34,7 +34,7 @@ protected:
|
| void createBlobAndInvokeCallback() override { };
|
| void createNullAndInvokeCallback() override { };
|
| void signalAlternativeCodePathFinishedForTesting() override;
|
| - void postDelayedTaskToMainThread(const WebTraceLocation&, std::unique_ptr<SameThreadClosure>, double delayMs) override;
|
| + void postDelayedTaskToMainThread(const WebTraceLocation&, std::unique_ptr<Closure>, double delayMs) override;
|
| };
|
|
|
| void MockCanvasAsyncBlobCreator::signalAlternativeCodePathFinishedForTesting()
|
| @@ -42,7 +42,7 @@ void MockCanvasAsyncBlobCreator::signalAlternativeCodePathFinishedForTesting()
|
| testing::exitRunLoop();
|
| }
|
|
|
| -void MockCanvasAsyncBlobCreator::postDelayedTaskToMainThread(const WebTraceLocation& location, std::unique_ptr<SameThreadClosure> task, double delayMs)
|
| +void MockCanvasAsyncBlobCreator::postDelayedTaskToMainThread(const WebTraceLocation& location, std::unique_ptr<Closure> task, double delayMs)
|
| {
|
| DCHECK(isMainThread());
|
| Platform::current()->mainThread()->getWebTaskRunner()->postTask(location, std::move(task));
|
|
|