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

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

Issue 22955006: Chrome::client() should return a ChromeClient reference. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/WebViewImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/ChromeClientImplTest.cpp
diff --git a/Source/web/tests/ChromeClientImplTest.cpp b/Source/web/tests/ChromeClientImplTest.cpp
index 15d9af88e1bcd3b3c8562775683e8ef13e2de3eb..783d04eaaf4b53e5acd3d35424afacd6b25843ff 100644
--- a/Source/web/tests/ChromeClientImplTest.cpp
+++ b/Source/web/tests/ChromeClientImplTest.cpp
@@ -88,7 +88,7 @@ protected:
{
m_webView = static_cast<WebViewImpl*>(WebView::create(&m_webViewClient));
m_webView->initializeMainFrame(&m_webFrameClient);
- m_chromeClientImpl = static_cast<ChromeClientImpl*>(m_webView->page()->chrome().client());
+ m_chromeClientImpl = static_cast<ChromeClientImpl*>(&m_webView->page()->chrome().client());
m_result = WebNavigationPolicyIgnore;
}
« no previous file with comments | « Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698