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

Unified Diff: third_party/WebKit/Source/wtf/WTF.h

Issue 2646003003: Avoid checking for WTFThreadData::staticData in wtfThreadData() (Closed)
Patch Set: Created 3 years, 11 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/wtf/WTF.h
diff --git a/third_party/WebKit/Source/wtf/WTF.h b/third_party/WebKit/Source/wtf/WTF.h
index dbb70826d0fef02e017caa2b45c5b145ae61e3ff..4d47189347861b4959f9adb0ec4bdc1c71692ce0 100644
--- a/third_party/WebKit/Source/wtf/WTF.h
+++ b/third_party/WebKit/Source/wtf/WTF.h
@@ -47,6 +47,7 @@ WTF_EXPORT bool isMainThread();
namespace internal {
void callOnMainThread(MainThreadFunction*, void* context);
+WTF_EXPORT bool isMainThreadSyscall();
} // namespace internal
} // namespace WTF

Powered by Google App Engine
This is Rietveld 408576698