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

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

Issue 10830353: Introduce InfoBarTabService API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments, merge to LKGR Created 8 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
Index: chrome/browser/ui/website_settings/website_settings_infobar_delegate.cc
diff --git a/chrome/browser/ui/website_settings/website_settings_infobar_delegate.cc b/chrome/browser/ui/website_settings/website_settings_infobar_delegate.cc
index 61d7bfce742e9a079c053a5297c2ee90afc21d58..3b96398dd1ff6d65e8563b425fd6dca0886e676d 100644
--- a/chrome/browser/ui/website_settings/website_settings_infobar_delegate.cc
+++ b/chrome/browser/ui/website_settings/website_settings_infobar_delegate.cc
@@ -42,6 +42,6 @@ string16 WebsiteSettingsInfobarDelegate::GetButtonLabel(
}
bool WebsiteSettingsInfobarDelegate::Accept() {
- owner()->web_contents()->GetController().Reload(true);
+ owner()->GetWebContents()->GetController().Reload(true);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698