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

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: Rebase Created 5 years, 8 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: Source/core/Init.cpp
diff --git a/Source/core/Init.cpp b/Source/core/Init.cpp
index 2c4854667372f9ae550f3948c19f2b0c78318631..91ebc31a57b3ac2bcb4e93d9f55e908542610f2b 100644
--- a/Source/core/Init.cpp
+++ b/Source/core/Init.cpp
@@ -54,7 +54,6 @@
#include "core/workers/WorkerThread.h"
#include "platform/EventTracer.h"
#include "platform/FontFamilyNames.h"
-#include "platform/PlatformThreadData.h"
#include "platform/weborigin/KURL.h"
#include "wtf/Partitions.h"
#include "wtf/text/StringStatics.h"
@@ -108,10 +107,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

Powered by Google App Engine
This is Rietveld 408576698