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 9d089c94996c3b65692ebc5d1966bed071822dd9..84c605e535bc4e18c5b69a84191e127d791c017f 100644 |
--- a/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp |
@@ -321,8 +321,7 @@ TEST_F(ScrollingCoordinatorTest, scrollEventHandler) |
navigateTo(m_baseURL + "scroll-event-handler.html"); |
forceFullCompositingUpdate(); |
- WebLayer* rootScrollLayer = getRootScrollLayer(); |
- ASSERT_TRUE(rootScrollLayer->haveScrollEventHandlers()); |
+ ASSERT_TRUE(webLayerTreeView()->haveScrollEventHandlers()); |
} |
TEST_F(ScrollingCoordinatorTest, updateEventHandlersDuringTeardown) |