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

Unified Diff: sky/engine/wtf/MainThread.h

Issue 691493004: Remove callOnMainThread (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « sky/engine/web/Sky.cpp ('k') | sky/engine/wtf/MainThread.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/wtf/MainThread.h
diff --git a/sky/engine/wtf/MainThread.h b/sky/engine/wtf/MainThread.h
index d3e186ff269ce3bb9a749bac342644d6c78b0295..928dc2d824018fc926fe9daa86c40c97166f6ba8 100644
--- a/sky/engine/wtf/MainThread.h
+++ b/sky/engine/wtf/MainThread.h
@@ -39,15 +39,11 @@ namespace WTF {
typedef uint32_t ThreadIdentifier;
typedef void MainThreadFunction(void*);
-// Must be called from the main thread.
-WTF_EXPORT void initializeMainThread(void (*)(MainThreadFunction, void*));
-
-WTF_EXPORT void callOnMainThread(MainThreadFunction*, void* context);
+WTF_EXPORT void initializeMainThread();
WTF_EXPORT bool isMainThread();
} // namespace WTF
-using WTF::callOnMainThread;
using WTF::isMainThread;
#endif // MainThread_h
« no previous file with comments | « sky/engine/web/Sky.cpp ('k') | sky/engine/wtf/MainThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698