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

Unified Diff: Source/WebKit/chromium/src/WebViewImpl.cpp

Issue 15820002: Page::chrome() should return a reference. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 7 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/WebKit/chromium/src/WebViewImpl.cpp
diff --git a/Source/WebKit/chromium/src/WebViewImpl.cpp b/Source/WebKit/chromium/src/WebViewImpl.cpp
index 485f9eaac58f49162a78070a1578d977ecd76137..db9a9f252f237af4a07a11d89a169ddd7a8fe6cb 100644
--- a/Source/WebKit/chromium/src/WebViewImpl.cpp
+++ b/Source/WebKit/chromium/src/WebViewImpl.cpp
@@ -1554,7 +1554,7 @@ WebViewImpl* WebViewImpl::fromPage(Page* page)
if (!page)
return 0;
- ChromeClientImpl* chromeClient = static_cast<ChromeClientImpl*>(page->chrome()->client());
+ ChromeClientImpl* chromeClient = static_cast<ChromeClientImpl*>(page->chrome().client());
return static_cast<WebViewImpl*>(chromeClient->webView());
}
« no previous file with comments | « Source/WebKit/chromium/src/WebPluginContainerImpl.cpp ('k') | Source/WebKit/chromium/tests/ChromeClientImplTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698