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

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

Issue 23671002: Refactoring: Add toWebFrameImpl() interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Refactoring: Add toWebFrameImpl() interface. 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
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()

Powered by Google App Engine
This is Rietveld 408576698