Index: Source/web/tests/RenderTableRowTest.cpp |
diff --git a/Source/web/tests/RenderTableRowTest.cpp b/Source/web/tests/RenderTableRowTest.cpp |
index 54dbdf26f5ab71ae54ce9b828f6bc4d82724254c..912e27a95f9a9a0dd371683120038f3aa97d9d0a 100644 |
--- a/Source/web/tests/RenderTableRowTest.cpp |
+++ b/Source/web/tests/RenderTableRowTest.cpp |
@@ -50,11 +50,11 @@ class RenderTableRowDeathTest : 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() |