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..54003a51b471191623434d8a5f9e983f12986255 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<WTF::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<WTF::Closure> task, double delayMs) |
{ |
DCHECK(isMainThread()); |
Platform::current()->mainThread()->getWebTaskRunner()->postTask(location, std::move(task)); |