Index: third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp b/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp |
index 3d7d4d3c100c3963716cf1fe6a6d2a675f8eab84..6606a5dd4255121a0276c1bbdc564265b562bba5 100644 |
--- a/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp |
@@ -378,7 +378,7 @@ TEST_F(ScrollingCoordinatorTest, updateEventHandlersDuringTeardown) |
// Simulate detaching the document from its DOM window. This should not |
// cause a crash when the WebViewImpl is closed by the test runner. |
- frame()->document()->detachLayoutTree(); |
+ frame()->document()->shutdown(); |
} |
TEST_F(ScrollingCoordinatorTest, clippedBodyTest) |