Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.cpp |
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.cpp |
index 1132fd58b505756629fffe7a256482a0e9c906bd..a834beaab6ea51f4a948dab18a528d00df8e10c2 100644 |
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.cpp |
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.cpp |
@@ -138,8 +138,7 @@ void ServiceWorkerContainer::contextDestroyed() { |
m_provider->setClient(0); |
m_provider = nullptr; |
} |
- if (m_navigator) |
- m_navigator->clearServiceWorker(); |
+ m_navigator->clearServiceWorker(); |
} |
DEFINE_TRACE(ServiceWorkerContainer) { |