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

Unified Diff: Source/core/page/Chrome.h

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/core/loader/FrameLoader.cpp ('k') | Source/core/page/Chrome.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/Chrome.h
diff --git a/Source/core/page/Chrome.h b/Source/core/page/Chrome.h
index 0d1a127e7ff447a5f6b8a8aa680e702e94f8223e..f9171c2ae95e172368a939c35c790155fae36e97 100644
--- a/Source/core/page/Chrome.h
+++ b/Source/core/page/Chrome.h
@@ -58,7 +58,7 @@ public:
static PassOwnPtr<Chrome> create(Page*, ChromeClient*);
- ChromeClient* client() { return m_client; }
+ ChromeClient& client() { return *m_client; }
// HostWindow methods.
virtual void invalidateContentsAndRootView(const IntRect&) OVERRIDE;
« no previous file with comments | « Source/core/loader/FrameLoader.cpp ('k') | Source/core/page/Chrome.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698