Index: third_party/WebKit/Source/bindings/core/v8/Microtask.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/Microtask.cpp b/third_party/WebKit/Source/bindings/core/v8/Microtask.cpp |
index f87775d492d365035fc5b2705beb2ec2bf4b87f0..593a8834043c63be5d6f7c2aa3c06e5fa5d652da 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/Microtask.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/Microtask.cpp |
@@ -44,11 +44,11 @@ void Microtask::performCheckpoint(v8::Isolate* isolate) |
static void microtaskFunctionCallback(void* data) |
{ |
- std::unique_ptr<SameThreadClosure> task = wrapUnique(static_cast<SameThreadClosure*>(data)); |
+ std::unique_ptr<WTF::Closure> task = wrapUnique(static_cast<WTF::Closure*>(data)); |
(*task)(); |
} |
-void Microtask::enqueueMicrotask(std::unique_ptr<SameThreadClosure> callback) |
+void Microtask::enqueueMicrotask(std::unique_ptr<WTF::Closure> callback) |
{ |
v8::Isolate* isolate = v8::Isolate::GetCurrent(); |
isolate->EnqueueMicrotask(µtaskFunctionCallback, static_cast<void*>(callback.release())); |