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

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

Issue 2345543002: debugging for crbug.com/646539
Patch Set: 3 TUs, 2 .h Created 4 years, 3 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 | « third_party/WebKit/Source/wtf/ThreadingPthreads.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/WTF.cpp
diff --git a/third_party/WebKit/Source/wtf/WTF.cpp b/third_party/WebKit/Source/wtf/WTF.cpp
index e064d14901d5ce8066551d6854d162d3c363267a..61db19c72c13f24acd9d0c1729a7b843d52b4ffc 100644
--- a/third_party/WebKit/Source/wtf/WTF.cpp
+++ b/third_party/WebKit/Source/wtf/WTF.cpp
@@ -63,17 +63,6 @@ bool isMainThread()
void initialize(void (*callOnMainThreadFunction)(MainThreadFunction, void*))
{
- // WTF, and Blink in general, cannot handle being re-initialized, even if shutdown first.
- // Make that explicit here.
- RELEASE_ASSERT(!s_initialized);
- RELEASE_ASSERT(!s_shutdown);
- s_initialized = true;
- initializeThreading();
-
- s_callOnMainThreadFunction = callOnMainThreadFunction;
- s_mainThreadIdentifier = currentThread();
- AtomicString::init();
- StringStatics::init();
}
void shutdown()
« no previous file with comments | « third_party/WebKit/Source/wtf/ThreadingPthreads.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698