Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(748)

Unified Diff: Source/web/tests/RenderTableRowTest.cpp

Issue 23671002: Refactoring: Add toWebFrameImpl() interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Corrected as per review commments. Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/tests/RenderTableCellTest.cpp ('k') | Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()
« no previous file with comments | « Source/web/tests/RenderTableCellTest.cpp ('k') | Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698