Index: Source/web/tests/FrameLoaderClientImplTest.cpp |
diff --git a/Source/web/tests/FrameLoaderClientImplTest.cpp b/Source/web/tests/FrameLoaderClientImplTest.cpp |
index 1c52cb4a0b2294e35577b08d48cb31076042ca14..4a8fae3cacee73ac666bf4e3700e4aeb0c18f16a 100644 |
--- a/Source/web/tests/FrameLoaderClientImplTest.cpp |
+++ b/Source/web/tests/FrameLoaderClientImplTest.cpp |
@@ -71,7 +71,7 @@ public: |
m_webView = WebView::create(0); |
m_mainFrame = WebFrame::create(&m_webFrameClient); |
m_webView->setMainFrame(m_mainFrame); |
- m_frameLoaderClientImpl = static_cast<FrameLoaderClientImpl*>(toWebFrameImpl(m_webView->mainFrame())->frame()->loader()->client()); |
+ m_frameLoaderClientImpl = toFrameLoaderClientImpl(toWebFrameImpl(m_webView->mainFrame())->frame()->loader()->client()); |
} |
void TearDown() |