Index: Source/web/tests/ChromeClientImplTest.cpp |
diff --git a/Source/web/tests/ChromeClientImplTest.cpp b/Source/web/tests/ChromeClientImplTest.cpp |
index 5e1b4652de65a5b262811e6b635a5dcc8df5d05a..6c8c8314d2725e835443dfb9e5b062cc39068464 100644 |
--- a/Source/web/tests/ChromeClientImplTest.cpp |
+++ b/Source/web/tests/ChromeClientImplTest.cpp |
@@ -90,7 +90,7 @@ protected: |
m_webView = toWebViewImpl(WebView::create(&m_webViewClient)); |
m_mainFrame = WebFrame::create(&m_webFrameClient); |
m_webView->setMainFrame(m_mainFrame); |
- m_chromeClientImpl = static_cast<ChromeClientImpl*>(&m_webView->page()->chrome().client()); |
+ m_chromeClientImpl = toChromeClientImpl(&m_webView->page()->chrome().client()); |
m_result = WebNavigationPolicyIgnore; |
} |