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

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

Issue 901663005: Revert r189385 "Remove LifecycleContext" and r189391, r189530, r189456 that block it (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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
« no previous file with comments | « Source/core/dom/ActiveDOMObject.h ('k') | Source/core/dom/ContextLifecycleNotifier.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 2d6157f388e6cda2c835ae6e9d7c790ed373d0de..84c5076c777c3b85ad7671e27930aeff45a32b00 100644
--- a/Source/core/dom/ActiveDOMObject.cpp
+++ b/Source/core/dom/ActiveDOMObject.cpp
@@ -84,7 +84,7 @@ void ActiveDOMObject::stop()
void ActiveDOMObject::didMoveToNewExecutionContext(ExecutionContext* context)
{
- setContext(context);
+ observeContext(context);
if (context->activeDOMObjectsAreStopped()) {
stop();
« no previous file with comments | « Source/core/dom/ActiveDOMObject.h ('k') | Source/core/dom/ContextLifecycleNotifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698