Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.h

Issue 1744973002: Make AbstractWorker a ContextLifecycleObserver rather than an ActiveDOMObject (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.h
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.h b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.h
index ee1325fddca1f91f9d248ddf9de501de814df3f4..1cb45bff0cd2227d29cec5fd8cad98f87cb070f8 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.h
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.h
@@ -75,13 +75,11 @@ private:
static ServiceWorker* getOrCreate(ExecutionContext*, PassOwnPtr<WebServiceWorker::Handle>);
ServiceWorker(ExecutionContext*, PassOwnPtr<WebServiceWorker::Handle>);
- // ActiveDOMObject overrides.
+ // Inherit from ContextLifecycleObserver.
bool hasPendingActivity() const override;
- void stop() override;
// A handle to the service worker representation in the embedder.
OwnPtr<WebServiceWorker::Handle> m_handle;
- bool m_wasStopped;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698