Chromium Code Reviews| 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 28bd0b050f3d9f8dcd5b72fbeaecf6a22c8bd448..642daec7fbd905815418c4ebc4fc82c91e534241 100644 |
| --- a/third_party/WebKit/Source/core/workers/WorkerThread.cpp |
| +++ b/third_party/WebKit/Source/core/workers/WorkerThread.cpp |
| @@ -222,6 +222,8 @@ void WorkerThread::initialize(PassOwnPtr<WorkerThreadStartupData> startupData) |
| if (m_workerGlobalScope->scriptController()->isContextInitialized()) { |
| m_workerReportingProxy.didInitializeWorkerContext(); |
| + v8::HandleScope handleScope(isolate()); |
| + Platform::current()->workerContextCreated(m_workerGlobalScope->scriptController()->context()); |
|
haraken
2016/05/04 04:03:56
Maybe can we reuse m_workerReportingProxy.didIniti
Marijn Kruisselbrink
2016/05/04 05:11:04
At some point we still need some API to call out t
|
| } |
| CachedMetadataHandler* handler = workerGlobalScope()->createWorkerScriptCachedMetadataHandler(scriptURL, cachedMetaData.get()); |