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

Unified Diff: third_party/WebKit/Source/web/tests/VisualViewportTest.cpp

Issue 2318913002: Rename Document::attach/detachLayoutTree to Document::initialize/shutdown (Closed)
Patch Set: temp Created 4 years, 3 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
Index: third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp b/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
index dbeb0157c38699d12b68f334a10bfda2fc4b1c2d..63135a7435b505179c5546a2d0651fb8ed746b72 100644
--- a/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
+++ b/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
@@ -1643,9 +1643,9 @@ TEST_P(ParameterizedVisualViewportTest, TestMainFrameInitializationSizing)
navigateTo(m_baseURL + "content-width-1000-min-scale.html");
WebLocalFrameImpl* localFrame = webViewImpl()->mainFrameImpl();
- // The detachLayoutTree() and dispose() calls are a hack to prevent this test
+ // The shutdown() calls are a hack to prevent this test
// from violating invariants about frame state during navigation/detach.
- localFrame->frame()->document()->detachLayoutTree();
+ localFrame->frame()->document()->shutdown();
localFrame->createFrameView();
FrameView& frameView = *localFrame->frameView();
« no previous file with comments | « third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp ('k') | third_party/WebKit/Source/web/tests/WebViewTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698