| Index: trunk/src/chrome/browser/ui/cocoa/tab_modal_confirm_dialog_mac.mm
|
| ===================================================================
|
| --- trunk/src/chrome/browser/ui/cocoa/tab_modal_confirm_dialog_mac.mm (revision 214772)
|
| +++ trunk/src/chrome/browser/ui/cocoa/tab_modal_confirm_dialog_mac.mm (working copy)
|
| @@ -88,7 +88,7 @@
|
| [[CustomConstrainedWindowSheet alloc]
|
| initWithCustomWindow:[alert_ window]]);
|
| window_.reset(new ConstrainedWindowMac(this, web_contents, sheet));
|
| - delegate_->set_operations_delegate(this);
|
| + delegate_->set_close_delegate(this);
|
| }
|
|
|
| TabModalConfirmDialogMac::~TabModalConfirmDialogMac() {
|
| @@ -106,10 +106,6 @@
|
| window_->CloseWebContentsModalDialog();
|
| }
|
|
|
| -void TabModalConfirmDialogMac::SetPreventCloseOnLoadStart(bool prevent) {
|
| - window_->SetPreventCloseOnLoadStart(prevent);
|
| -}
|
| -
|
| void TabModalConfirmDialogMac::OnConstrainedWindowClosed(
|
| ConstrainedWindowMac* window) {
|
| delete this;
|
|
|