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

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

Issue 1052993006: Refactor frame navigation/detach state cleanup to be more sane. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Minor test cleanup Created 5 years, 8 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/css/MediaQueryEvaluatorTest.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ActiveDOMObjectTest.cpp
diff --git a/Source/core/dom/ActiveDOMObjectTest.cpp b/Source/core/dom/ActiveDOMObjectTest.cpp
index 4d3220ec17b63fdc23a3dbf0c40312d25abbc71d..db6e84b0ebf053b16857a9931c12c8c370005a7c 100644
--- a/Source/core/dom/ActiveDOMObjectTest.cpp
+++ b/Source/core/dom/ActiveDOMObjectTest.cpp
@@ -104,7 +104,7 @@ TEST_F(ActiveDOMObjectTest, MoveToSuspendedDocument)
TEST_F(ActiveDOMObjectTest, MoveToStoppedDocument)
{
- destDocument().detach();
+ destDocument().prepareForDestruction();
EXPECT_CALL(activeDOMObject(), stop());
activeDOMObject().didMoveToNewExecutionContext(&destDocument());
« no previous file with comments | « Source/core/css/MediaQueryEvaluatorTest.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698