Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainerClient.cpp |
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainerClient.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainerClient.cpp |
index a0f5b0f1d4afe97c83073db223913f301dc9305c..7237bfab5e89a3b5de54bb857c9a8d720b515527 100644 |
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainerClient.cpp |
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainerClient.cpp |
@@ -35,8 +35,6 @@ |
ServiceWorkerContainerClient* ServiceWorkerContainerClient::from(ExecutionContext* context) |
{ |
- if (!context) |
- return nullptr; |
if (context->isWorkerGlobalScope()) { |
WorkerClients* clients = toWorkerGlobalScope(context)->clients(); |
ASSERT(clients); |