Index: third_party/WebKit/Source/platform/scheduler/CancellableTaskFactory.cpp |
diff --git a/third_party/WebKit/Source/platform/scheduler/CancellableTaskFactory.cpp b/third_party/WebKit/Source/platform/scheduler/CancellableTaskFactory.cpp |
index ea462658d7e77d19c340b6243401dac09e39de01..64b5b84f5d2e3c162c2eb6f77e64fceafd81d75f 100644 |
--- a/third_party/WebKit/Source/platform/scheduler/CancellableTaskFactory.cpp |
+++ b/third_party/WebKit/Source/platform/scheduler/CancellableTaskFactory.cpp |
@@ -22,7 +22,7 @@ WebTaskRunner::Task* CancellableTaskFactory::cancelAndCreate() |
void CancellableTaskFactory::CancellableTask::run() |
{ |
if (CancellableTaskFactory* taskFactory = m_weakPtr.get()) { |
- Closure* closure = taskFactory->m_closure.get(); |
+ SameThreadClosure* closure = taskFactory->m_closure.get(); |
taskFactory->m_weakPtrFactory.revokeAll(); |
(*closure)(); |
} |