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

Unified Diff: chrome/browser/tab_contents/tab_contents_ssl_helper.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
« no previous file with comments | « chrome/browser/plugin_infobar_delegates.cc ('k') | chrome/browser/task_manager/task_manager_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/tab_contents_ssl_helper.cc
diff --git a/chrome/browser/tab_contents/tab_contents_ssl_helper.cc b/chrome/browser/tab_contents/tab_contents_ssl_helper.cc
index 56d80c48458dd494ba39d31e325e1a8d16c50446..99bab73944e11c0bf878590153761eae6dca9d65 100644
--- a/chrome/browser/tab_contents/tab_contents_ssl_helper.cc
+++ b/chrome/browser/tab_contents/tab_contents_ssl_helper.cc
@@ -100,8 +100,8 @@ string16 SSLCertAddedInfoBarDelegate::GetButtonLabel(
bool SSLCertAddedInfoBarDelegate::Accept() {
ShowCertificateViewer(
- owner()->web_contents(),
- owner()->web_contents()->GetView()->GetTopLevelNativeWindow(),
+ owner()->GetWebContents(),
+ owner()->GetWebContents()->GetView()->GetTopLevelNativeWindow(),
cert_);
return false; // Hiding the infobar just as the dialog opens looks weird.
}
« no previous file with comments | « chrome/browser/plugin_infobar_delegates.cc ('k') | chrome/browser/task_manager/task_manager_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698