Index: Source/web/tests/ScrollingCoordinatorChromiumTest.cpp |
diff --git a/Source/web/tests/ScrollingCoordinatorChromiumTest.cpp b/Source/web/tests/ScrollingCoordinatorChromiumTest.cpp |
index 291d6a635757f6e45a65d08d9b72f524dd570889..0a5e9b8a3747711abf618deb912ceec9412fe12c 100644 |
--- a/Source/web/tests/ScrollingCoordinatorChromiumTest.cpp |
+++ b/Source/web/tests/ScrollingCoordinatorChromiumTest.cpp |
@@ -373,7 +373,7 @@ TEST_F(ScrollingCoordinatorChromiumTest, rtlIframe) |
ASSERT_TRUE(renderWidget->widget()); |
ASSERT_TRUE(renderWidget->widget()->isFrameView()); |
- FrameView* innerFrameView = static_cast<FrameView*>(renderWidget->widget()); |
+ FrameView* innerFrameView = toFrameView(renderWidget->widget()); |
RenderView* innerRenderView = innerFrameView->renderView(); |
ASSERT_TRUE(innerRenderView); |