Index: chrome/browser/ui/views/constrained_html_delegate_gtk.cc |
diff --git a/chrome/browser/ui/views/constrained_html_delegate_gtk.cc b/chrome/browser/ui/views/constrained_html_delegate_gtk.cc |
index 7f0754b7f7424646c09548a257f17f4403770d03..38c33a9e8d27615ad54f2949af89d0bd1e6291e2 100644 |
--- a/chrome/browser/ui/views/constrained_html_delegate_gtk.cc |
+++ b/chrome/browser/ui/views/constrained_html_delegate_gtk.cc |
@@ -127,7 +127,7 @@ ConstrainedWindow* ConstrainedHtmlUI::CreateConstrainedHtmlDialog( |
ConstrainedHtmlDelegateGtk* constrained_delegate = |
new ConstrainedHtmlDelegateGtk(profile, delegate); |
ConstrainedWindow* constrained_window = |
- new ConstrainedWindowGtk(wrapper->tab_contents(), constrained_delegate); |
+ new ConstrainedWindowGtk(wrapper, constrained_delegate); |
constrained_delegate->set_window(constrained_window); |
return constrained_window; |
} |