diff options
Diffstat (limited to 'chrome/browser/cookie_modal_dialog_views.cc')
-rw-r--r-- | chrome/browser/cookie_modal_dialog_views.cc | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/chrome/browser/cookie_modal_dialog_views.cc b/chrome/browser/cookie_modal_dialog_views.cc index 1cf3ac5..6e9027a 100644 --- a/chrome/browser/cookie_modal_dialog_views.cc +++ b/chrome/browser/cookie_modal_dialog_views.cc @@ -39,16 +39,12 @@ void CookiePromptModalDialog::CancelWindow() { NativeDialog CookiePromptModalDialog::CreateNativeDialog() { #if defined(OS_WIN) - if (cookie_ui_) { - return new CookiePromptView(this, - tab_contents_->GetMessageBoxRootWindow(), - tab_contents_->profile(), - host_, cookie_line_, delegate_); - } return new CookiePromptView(this, - tab_contents_->GetMessageBoxRootWindow(), - tab_contents_->profile(), - storage_info_, delegate_); + tab_contents_->GetMessageBoxRootWindow(), + tab_contents_->profile(), + storage_info_, + host_, cookie_line_, delegate_, + cookie_ui_); #else return NULL; #endif |