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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerThread.cpp

Issue 1915373002: Implement empty WorkerInternals interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@trials-in-service-workers
Patch Set: update expectations Created 4 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: 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());

Powered by Google App Engine
This is Rietveld 408576698