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

Unified Diff: Source/core/dom/ActiveDOMObject.cpp

Issue 17351003: Rename ContextDestructionObserver to ContextLifecycleObserver (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Reapplied 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.h ('k') | Source/core/dom/ContextDestructionObserver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ActiveDOMObject.cpp
diff --git a/Source/core/dom/ActiveDOMObject.cpp b/Source/core/dom/ActiveDOMObject.cpp
index 880c976aae4be8efe1024e40a5218344ceba3d34..c2008aa16b2893e070ebc51edf57115bfaa4dd8c 100644
--- a/Source/core/dom/ActiveDOMObject.cpp
+++ b/Source/core/dom/ActiveDOMObject.cpp
@@ -33,7 +33,7 @@
namespace WebCore {
ActiveDOMObject::ActiveDOMObject(ScriptExecutionContext* scriptExecutionContext)
- : ContextDestructionObserver(scriptExecutionContext, ActiveDOMObjectType)
+ : ContextLifecycleObserver(scriptExecutionContext, ActiveDOMObjectType)
, m_pendingActivityCount(0)
#if !ASSERT_DISABLED
, m_suspendIfNeededCalled(false)
@@ -50,7 +50,7 @@ ActiveDOMObject::~ActiveDOMObject()
// ActiveDOMObject may be inherited by a sub-class whose life-cycle
// exceeds that of the associated ScriptExecutionContext. In those cases,
// m_scriptExecutionContext would/should have been nullified by
- // ContextDestructionObserver::contextDestroyed() (which we implement /
+ // ContextLifecycleObserver::contextDestroyed() (which we implement /
// inherit). Hence, we should ensure that this is not 0 before use it
// here.
if (!m_scriptExecutionContext)
« no previous file with comments | « Source/core/dom/ActiveDOMObject.h ('k') | Source/core/dom/ContextDestructionObserver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698