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

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

Issue 2558773002: Remove ContextLifecycleObserver from WaitUntilObserver (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.h
diff --git a/third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.h b/third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.h
index 1acc6d828ed32b1b5855ef0a01cca3978f2a6f0c..6d5b415425140f71d91c222cb81b371d89292604 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.h
+++ b/third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.h
@@ -5,7 +5,6 @@
#ifndef WaitUntilObserver_h
#define WaitUntilObserver_h
-#include "core/dom/ContextLifecycleObserver.h"
#include "modules/ModulesExport.h"
#include "modules/serviceworkers/ServiceWorkerGlobalScopeClient.h"
#include "platform/Timer.h"
@@ -21,10 +20,7 @@ class ScriptValue;
// Created for each ExtendableEvent instance.
class MODULES_EXPORT WaitUntilObserver final
- : public GarbageCollectedFinalized<WaitUntilObserver>,
- public ContextLifecycleObserver {
- USING_GARBAGE_COLLECTED_MIXIN(WaitUntilObserver);
-
+ : public GarbageCollectedFinalized<WaitUntilObserver> {
public:
enum EventType {
Activate,
@@ -68,6 +64,7 @@ class MODULES_EXPORT WaitUntilObserver final
void consumeWindowInteraction(TimerBase*);
+ Member<ExecutionContext> m_executionContext;
EventType m_type;
int m_eventID;
int m_pendingActivity = 0;
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698