Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1128)

Unified Diff: third_party/WebKit/Source/platform/scheduler/CancellableTaskFactory.cpp

Issue 2110363002: Rename SameThreadClosure to Closure (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@TRV_ExplicitWTFBind
Patch Set: Add WTF:: to Closure Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 64b5b84f5d2e3c162c2eb6f77e64fceafd81d75f..0610c62de5d09aafc0b555f42e33161aa70b81d3 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()) {
- SameThreadClosure* closure = taskFactory->m_closure.get();
+ WTF::Closure* closure = taskFactory->m_closure.get();
taskFactory->m_weakPtrFactory.revokeAll();
(*closure)();
}

Powered by Google App Engine
This is Rietveld 408576698