| Index: chrome/browser/ui/views/constrained_html_delegate_views.cc
|
| diff --git a/chrome/browser/ui/views/constrained_html_delegate_views.cc b/chrome/browser/ui/views/constrained_html_delegate_views.cc
|
| index e45a2a8fa6e96ff2052c634a5118354cc39f64bf..cc119dc3e2ffa6551268e568ecac5dac51aa762f 100644
|
| --- a/chrome/browser/ui/views/constrained_html_delegate_views.cc
|
| +++ b/chrome/browser/ui/views/constrained_html_delegate_views.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "base/utf_string_conversions.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| +#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
|
| #include "chrome/browser/ui/views/constrained_window_views.h"
|
| #include "chrome/browser/ui/views/tab_contents/tab_contents_container.h"
|
| #include "chrome/browser/ui/webui/html_dialog_tab_contents_delegate.h"
|
| @@ -119,11 +120,12 @@ void ConstrainedHtmlDelegateViews::OnDialogCloseFromWebUI() {
|
| ConstrainedWindow* ConstrainedHtmlUI::CreateConstrainedHtmlDialog(
|
| Profile* profile,
|
| HtmlDialogUIDelegate* delegate,
|
| - TabContents* container) {
|
| + TabContentsWrapper* container) {
|
| ConstrainedHtmlDelegateViews* constrained_delegate =
|
| new ConstrainedHtmlDelegateViews(profile, delegate);
|
| ConstrainedWindow* constrained_window =
|
| - new ConstrainedWindowViews(container, constrained_delegate);
|
| + new ConstrainedWindowViews(container->tab_contents(),
|
| + constrained_delegate);
|
| constrained_delegate->set_window(constrained_window);
|
| return constrained_window;
|
| }
|
|
|