Index: Source/web/tests/FrameLoaderClientImplTest.cpp |
diff --git a/Source/web/tests/FrameLoaderClientImplTest.cpp b/Source/web/tests/FrameLoaderClientImplTest.cpp |
index 198a231af4cabed5e78d253a41c413df1c67ab06..85c4332428d4142564b781aaa817b9baf6cf293c 100644 |
--- a/Source/web/tests/FrameLoaderClientImplTest.cpp |
+++ b/Source/web/tests/FrameLoaderClientImplTest.cpp |
@@ -70,8 +70,7 @@ public: |
{ |
m_webView = WebView::create(0); |
m_webView->initializeMainFrame(&m_webFrameClient); |
- WebFrameImpl* frame = static_cast<WebFrameImpl*>(m_webView->mainFrame()); |
- m_frameLoaderClientImpl = static_cast<FrameLoaderClientImpl*>(frame->frame()->loader()->client()); |
+ m_frameLoaderClientImpl = static_cast<FrameLoaderClientImpl*>(toWebFrameImpl(m_webView->mainFrame())->frame()->loader()->client()); |
} |
void TearDown() |