Index: third_party/WebKit/Source/web/tests/WebViewTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/WebViewTest.cpp b/third_party/WebKit/Source/web/tests/WebViewTest.cpp |
index ebda5112b4aac7dfd91c56a86dad1a6eba7d627b..c96529b2a47fe8da2dddbb8b4e1b5a05e44ea50b 100644 |
--- a/third_party/WebKit/Source/web/tests/WebViewTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/WebViewTest.cpp |
@@ -384,9 +384,9 @@ TEST_F(WebViewTest, SetBaseBackgroundColor) |
EXPECT_EQ(kTransparent, webView->backgroundColor()); |
LocalFrame* frame = webView->mainFrameImpl()->frame(); |
- // 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. |
- frame->document()->detachLayoutTree(); |
+ frame->document()->shutdown(); |
// Creating a new frame view with the background color having 0 alpha. |
frame->createView(IntSize(1024, 768), Color::transparent, true); |