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

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

Issue 7880003: content: Move constrained window code from TabContents to TabContentsWrapper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix mac regression now that shutdown timing was changed for views. Created 9 years, 3 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/gtk/ssl_client_certificate_selector.cc
diff --git a/chrome/browser/ui/gtk/ssl_client_certificate_selector.cc b/chrome/browser/ui/gtk/ssl_client_certificate_selector.cc
index 0fc60506ef0adcadf97c54c0de901f55aa05f69b..295e1cd8b221a30ef583805066bb6180b980f2dc 100644
--- a/chrome/browser/ui/gtk/ssl_client_certificate_selector.cc
+++ b/chrome/browser/ui/gtk/ssl_client_certificate_selector.cc
@@ -197,7 +197,7 @@ SSLClientCertificateSelector::~SSLClientCertificateSelector() {
void SSLClientCertificateSelector::Show() {
DCHECK(!window_);
- window_ = new ConstrainedWindowGtk(wrapper_->tab_contents(), this);
+ window_ = new ConstrainedWindowGtk(wrapper_, this);
}
void SSLClientCertificateSelector::OnCertSelectedByNotification() {

Powered by Google App Engine
This is Rietveld 408576698