| Index: third_party/WebKit/Source/core/workers/WorkerThread.cpp
|
| diff --git a/third_party/WebKit/Source/core/workers/WorkerThread.cpp b/third_party/WebKit/Source/core/workers/WorkerThread.cpp
|
| index 3c05d60a1c01e9ffed289c85e6df25a1ff1d7ee8..bd161ca57672b1763897b2e090e86518227c6747 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerThread.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerThread.cpp
|
| @@ -497,16 +497,8 @@ void WorkerThread::initializeOnWorkerThread(std::unique_ptr<WorkerThreadStartupD
|
| m_workerReportingProxy.didCreateWorkerGlobalScope(globalScope());
|
| m_workerInspectorController = WorkerInspectorController::create(this);
|
|
|
| - // TODO(nhiroki): Handle a case where the script controller fails to
|
| - // initialize the context.
|
| globalScope()->scriptController()->initializeContextIfNeeded();
|
|
|
| - // If Origin Trials have been registered before the V8 context was ready,
|
| - // then inject them into the context now
|
| - OriginTrialContext* originTrialContext = OriginTrialContext::from(globalScope());
|
| - if (originTrialContext)
|
| - originTrialContext->initializePendingFeatures();
|
| -
|
| setThreadState(lock, ThreadState::Running);
|
| }
|
|
|
|
|