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

Unified Diff: Source/web/ServiceWorkerGlobalScopeProxy.cpp

Issue 1287903002: Revert of [Extension ServiceWorkers] Blink: Passing v8::context to extensions dispatcher (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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/web/ServiceWorkerGlobalScopeProxy.cpp
diff --git a/Source/web/ServiceWorkerGlobalScopeProxy.cpp b/Source/web/ServiceWorkerGlobalScopeProxy.cpp
index 798ac15567f2a197792cbe5893437751d0a398df..38b8c39e34613a7ae8d776fc7ec37f3711339930 100644
--- a/Source/web/ServiceWorkerGlobalScopeProxy.cpp
+++ b/Source/web/ServiceWorkerGlobalScopeProxy.cpp
@@ -204,13 +204,6 @@
m_client.didEvaluateWorkerScript(success);
}
-void ServiceWorkerGlobalScopeProxy::didInitializeWorkerContext()
-{
- ASSERT(m_workerGlobalScope);
- ScriptState::Scope scope(m_workerGlobalScope->script()->scriptState());
- m_client.didInitializeWorkerContext(m_workerGlobalScope->script()->context(), WebURL(m_document.url()));
-}
-
void ServiceWorkerGlobalScopeProxy::workerGlobalScopeStarted(WorkerGlobalScope* workerGlobalScope)
{
ASSERT(!m_workerGlobalScope);
« no previous file with comments | « Source/web/ServiceWorkerGlobalScopeProxy.h ('k') | public/web/modules/serviceworker/WebServiceWorkerContextClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698