| Index: content/child/service_worker/service_worker_dispatcher.cc
|
| diff --git a/content/child/service_worker/service_worker_dispatcher.cc b/content/child/service_worker/service_worker_dispatcher.cc
|
| index 9022cddd655ef6cc58e9a286621e28a1856e41b0..54260873328ec5c54bbea7d39f8c42dd4d586d52 100644
|
| --- a/content/child/service_worker/service_worker_dispatcher.cc
|
| +++ b/content/child/service_worker/service_worker_dispatcher.cc
|
| @@ -264,7 +264,7 @@ void ServiceWorkerDispatcher::WillStopCurrentWorkerThread() {
|
| scoped_refptr<WebServiceWorkerImpl>
|
| ServiceWorkerDispatcher::GetOrCreateServiceWorker(
|
| scoped_ptr<ServiceWorkerHandleReference> handle_ref) {
|
| - if (handle_ref->handle_id() == kInvalidServiceWorkerHandleId)
|
| + if (!handle_ref)
|
| return nullptr;
|
|
|
| WorkerObjectMap::iterator found =
|
|
|