Index: Source/web/tests/RenderTableCellTest.cpp |
diff --git a/Source/web/tests/RenderTableCellTest.cpp b/Source/web/tests/RenderTableCellTest.cpp |
index e259e4b43a0081e0f6dcca51fc852dd04e0bb6e4..fa0bcc8f1b6622ac5617cff6c0f228365b77ce5f 100644 |
--- a/Source/web/tests/RenderTableCellTest.cpp |
+++ b/Source/web/tests/RenderTableCellTest.cpp |
@@ -50,11 +50,11 @@ class RenderTableCellDeathTest : public testing::Test { |
static WebView* webView; |
if (webView) |
- return static_cast<WebFrameImpl*>(webView->mainFrame())->frame(); |
+ return toWebFrameImpl(webView->mainFrame())->frame(); |
webView = FrameTestHelpers::createWebViewAndLoad("about:blank"); |
webView->setFocus(true); |
- return static_cast<WebFrameImpl*>(webView->mainFrame())->frame(); |
+ return toWebFrameImpl(webView->mainFrame())->frame(); |
} |
static Document* document() |