Index: content/child/service_worker/web_service_worker_impl.cc |
diff --git a/content/child/service_worker/web_service_worker_impl.cc b/content/child/service_worker/web_service_worker_impl.cc |
index e76822362ed322a482c0137ae00faac59e38649a..dcd69ca8a902799d1dba64dea0398819785c5a6d 100644 |
--- a/content/child/service_worker/web_service_worker_impl.cc |
+++ b/content/child/service_worker/web_service_worker_impl.cc |
@@ -43,8 +43,7 @@ WebServiceWorkerImpl::~WebServiceWorkerImpl() { |
void WebServiceWorkerImpl::OnStateChanged( |
blink::WebServiceWorkerState new_state) { |
- DCHECK(proxy_); |
- if (proxy_->isReady()) |
+ if (proxy_ && proxy_->isReady()) |
CommitState(new_state); |
else |
queued_states_.push_back(new_state); |