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(); |