| Index: chrome/browser/ui/views/html_dialog_view.cc
|
| diff --git a/chrome/browser/ui/views/html_dialog_view.cc b/chrome/browser/ui/views/html_dialog_view.cc
|
| index e6995c209fcc8041b13f3be841a3950e3c697c1b..168f47febd860f93d96790604b992021f911af4c 100644
|
| --- a/chrome/browser/ui/views/html_dialog_view.cc
|
| +++ b/chrome/browser/ui/views/html_dialog_view.cc
|
| @@ -31,13 +31,14 @@ namespace browser {
|
| // Declared in browser_dialogs.h so that others don't need to depend on our .h.
|
| gfx::NativeWindow ShowHtmlDialog(gfx::NativeWindow parent,
|
| Profile* profile,
|
| - HtmlDialogUIDelegate* delegate) {
|
| + HtmlDialogUIDelegate* delegate,
|
| + DialogStyle style) {
|
| // It's not always safe to display an html dialog with an off the record
|
| // profile. If the last browser with that profile is closed it will go
|
| // away.
|
| DCHECK(!profile->IsOffTheRecord() || delegate->IsDialogModal());
|
| HtmlDialogView* html_view = new HtmlDialogView(profile, delegate);
|
| - browser::CreateViewsWindow(parent, html_view);
|
| + browser::CreateViewsWindow(parent, html_view, style);
|
| html_view->InitDialog();
|
| html_view->GetWidget()->Show();
|
| return html_view->GetWidget()->GetNativeWindow();
|
|
|