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

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

Issue 26434002: Cleanup: Add more conversion helpers for usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 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/ChromeClientImplTest.cpp
diff --git a/Source/web/tests/ChromeClientImplTest.cpp b/Source/web/tests/ChromeClientImplTest.cpp
index 5e1b4652de65a5b262811e6b635a5dcc8df5d05a..6c8c8314d2725e835443dfb9e5b062cc39068464 100644
--- a/Source/web/tests/ChromeClientImplTest.cpp
+++ b/Source/web/tests/ChromeClientImplTest.cpp
@@ -90,7 +90,7 @@ protected:
m_webView = toWebViewImpl(WebView::create(&m_webViewClient));
m_mainFrame = WebFrame::create(&m_webFrameClient);
m_webView->setMainFrame(m_mainFrame);
- m_chromeClientImpl = static_cast<ChromeClientImpl*>(&m_webView->page()->chrome().client());
+ m_chromeClientImpl = toChromeClientImpl(&m_webView->page()->chrome().client());
m_result = WebNavigationPolicyIgnore;
}

Powered by Google App Engine
This is Rietveld 408576698