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

Unified Diff: third_party/WebKit/Source/platform/heap/GCTaskRunner.h

Issue 2104913002: Rename threadSafeBind() to crossThreadBind() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@TRV_CTCPointer
Patch Set: Rebase 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/heap/GCTaskRunner.h
diff --git a/third_party/WebKit/Source/platform/heap/GCTaskRunner.h b/third_party/WebKit/Source/platform/heap/GCTaskRunner.h
index 8ef05d6854fb04fd54d7bb1d1aa49667e2d8dc72..cbf72d712227cf8043afa6e38b542c524bc83485 100644
--- a/third_party/WebKit/Source/platform/heap/GCTaskRunner.h
+++ b/third_party/WebKit/Source/platform/heap/GCTaskRunner.h
@@ -31,7 +31,7 @@
#ifndef GCTaskRunner_h
#define GCTaskRunner_h
-#include "platform/ThreadSafeFunctional.h"
+#include "platform/CrossThreadFunctional.h"
#include "platform/heap/ThreadState.h"
#include "public/platform/WebTaskRunner.h"
#include "public/platform/WebThread.h"
@@ -50,7 +50,7 @@ public:
// GCTask has an empty run() method. Its only purpose is to guarantee
// that MessageLoop will have a task to process which will result
// in GCTaskRunner::didProcessTask being executed.
- m_taskRunner->postTask(BLINK_FROM_HERE, threadSafeBind(&runGCTask));
+ m_taskRunner->postTask(BLINK_FROM_HERE, crossThreadBind(&runGCTask));
}
private:

Powered by Google App Engine
This is Rietveld 408576698