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

Unified Diff: Source/core/dom/ContextDestructionObserver.h

Issue 16988003: Revert "Extract ContextLifecycleNotifier from ScriptExecutionContext." (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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
« no previous file with comments | « Source/core/dom/ActiveDOMObject.cpp ('k') | Source/core/dom/ContextDestructionObserver.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ContextDestructionObserver.h
diff --git a/Source/core/dom/ContextDestructionObserver.h b/Source/core/dom/ContextDestructionObserver.h
index 1254a0ad8cd5fc7dc46897344a81f288943028b7..ca956abc8d20a23147b1942b5464851769f93591 100644
--- a/Source/core/dom/ContextDestructionObserver.h
+++ b/Source/core/dom/ContextDestructionObserver.h
@@ -33,20 +33,14 @@ class ScriptExecutionContext;
class ContextDestructionObserver {
public:
- enum Type {
- ActiveDOMObjectType,
- DocumentLifecycleObserverType,
- GenericType
- };
-
- explicit ContextDestructionObserver(ScriptExecutionContext*, Type = GenericType);
+ explicit ContextDestructionObserver(ScriptExecutionContext*);
virtual void contextDestroyed();
ScriptExecutionContext* scriptExecutionContext() const { return m_scriptExecutionContext; }
protected:
virtual ~ContextDestructionObserver();
- void observeContext(ScriptExecutionContext*, Type);
+ void observeContext(ScriptExecutionContext*);
ScriptExecutionContext* m_scriptExecutionContext;
};
« no previous file with comments | « Source/core/dom/ActiveDOMObject.cpp ('k') | Source/core/dom/ContextDestructionObserver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698