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

Unified Diff: Source/core/Init.cpp

Issue 956333002: Refactor TimeBase to post tasks. Workers to use real Idle tasks. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix a bunch of stuff Created 5 years, 10 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 | « no previous file | Source/core/dom/ScriptRunnerTest.cpp » ('j') | Source/core/dom/ScriptRunnerTest.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/Init.cpp
diff --git a/Source/core/Init.cpp b/Source/core/Init.cpp
index 75ea8d6f12cae0dc60e0ea987aaad80544d649e7..3444210370f89bbdee2d7b4a760416c8a2739771 100644
--- a/Source/core/Init.cpp
+++ b/Source/core/Init.cpp
@@ -55,7 +55,6 @@
#include "platform/EventTracer.h"
#include "platform/FontFamilyNames.h"
#include "platform/Partitions.h"
-#include "platform/PlatformThreadData.h"
#include "platform/weborigin/KURL.h"
#include "wtf/text/StringStatics.h"
@@ -109,10 +108,6 @@ void CoreInitializer::init()
registerEventFactory();
- // Ensure that the main thread's thread-local data is initialized before
- // starting any worker threads.
- PlatformThreadData::current();
-
StringImpl::freezeStaticStrings();
// Creates HTMLParserThread::shared and ScriptStreamerThread::shared, but
« no previous file with comments | « no previous file | Source/core/dom/ScriptRunnerTest.cpp » ('j') | Source/core/dom/ScriptRunnerTest.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698