Index: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp |
diff --git a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp |
index 471de234d334dbe63c9126a5f2baeccb75d78617..baca0da644f478fac1950ae992d614c4229e995d 100644 |
--- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp |
+++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp |
@@ -244,8 +244,9 @@ void ServiceWorkerGlobalScopeProxy::workerGlobalScopeStarted(WorkerGlobalScope* |
void ServiceWorkerGlobalScopeProxy::workerGlobalScopeClosed() |
{ |
- DCHECK(m_embeddedWorker); |
- document().postTask(BLINK_FROM_HERE, createCrossThreadTask(&WebEmbeddedWorkerImpl::terminateWorkerContext, AllowCrossThreadAccess(m_embeddedWorker))); |
+ // This should never be called because close() is not defined in |
+ // ServiceWorkerGlobalScope. |
+ NOTREACHED(); |
} |
void ServiceWorkerGlobalScopeProxy::willDestroyWorkerGlobalScope() |