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

Unified Diff: third_party/WebKit/Source/wtf/ThreadingWin.cpp

Issue 2474303004: Remove mutex locks in SchemeRegistry (Closed)
Patch Set: tkent review Created 4 years, 1 month 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/ThreadingWin.cpp
diff --git a/third_party/WebKit/Source/wtf/ThreadingWin.cpp b/third_party/WebKit/Source/wtf/ThreadingWin.cpp
index 8df017dd2a54e074ac5d9485d09b0fbed2de1d45..c448db783626f7d71ab29a5f1e5423626300c8ef 100644
--- a/third_party/WebKit/Source/wtf/ThreadingWin.cpp
+++ b/third_party/WebKit/Source/wtf/ThreadingWin.cpp
@@ -404,6 +404,14 @@ bool isBeforeThreadCreated() {
void willCreateThread() {
s_threadCreated = true;
}
+#else
+bool isAtomicallyInitializedStaticMutexLockHeld() {
+ return false;
+}
+bool isBeforeThreadCreated() {
+ return false;
+}
+void willCreateThread() {}
#endif
} // namespace WTF

Powered by Google App Engine
This is Rietveld 408576698