| Index: third_party/WebKit/Source/core/CoreInitializer.cpp
|
| diff --git a/third_party/WebKit/Source/core/CoreInitializer.cpp b/third_party/WebKit/Source/core/CoreInitializer.cpp
|
| index d7b86025a2a6f3dd34ac21e95ef3bbe72d2fe71c..6e73ba2811cd6f71c94dcedeaf1039dd57274ec1 100644
|
| --- a/third_party/WebKit/Source/core/CoreInitializer.cpp
|
| +++ b/third_party/WebKit/Source/core/CoreInitializer.cpp
|
| @@ -141,10 +141,6 @@ void CoreInitializer::initialize() {
|
|
|
| StringImpl::freezeStaticStrings();
|
|
|
| - // Creates HTMLParserThread::shared and ScriptStreamerThread::shared, but
|
| - // does not start the threads.
|
| - if (!RuntimeEnabledFeatures::parseHTMLOnMainThreadEnabled())
|
| - HTMLParserThread::init();
|
| ScriptStreamerThread::init();
|
| }
|
|
|
| @@ -153,11 +149,7 @@ void CoreInitializer::shutdown() {
|
| // that this will wait the thread to stop its operations.
|
| ScriptStreamerThread::shutdown();
|
|
|
| - // Make sure we stop the HTMLParserThread before Platform::current() is
|
| - // cleared.
|
| ASSERT(Platform::current());
|
| - if (!RuntimeEnabledFeatures::parseHTMLOnMainThreadEnabled())
|
| - HTMLParserThread::shutdown();
|
|
|
| WorkerThread::terminateAndWaitForAllWorkers();
|
| }
|
|
|