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

Unified Diff: chrome/browser/ui/browser.cc

Issue 9473001: Extract minimal RenderViewHost interface for embedders, leaving (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ready for initial review. Created 8 years, 10 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: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 3a3e35fad37676e05457023a605953f298dd5f5a..5c8d87ea3911b89b35251974a8b2066931ba0485 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -1661,7 +1661,7 @@ void Browser::ReloadInternal(WindowOpenDisposition disposition,
// Also notify RenderViewHostDelegate of the user gesture; this is
// normally done in Browser::Navigate, but a reload bypasses Navigate.
WebContents* tab = GetOrCloneTabForDisposition(disposition);
- tab->GetRenderViewHost()->delegate()->OnUserGesture();
+ tab->GetRenderViewHost()->GetDelegate()->OnUserGesture();
if (!tab->FocusLocationBarByDefault())
tab->Focus();
if (ignore_cache)

Powered by Google App Engine
This is Rietveld 408576698