| Index: chrome/browser/cocoa/download_request_dialog_delegate_mac.mm
|
| diff --git a/chrome/browser/cocoa/download_request_dialog_delegate_mac.mm b/chrome/browser/cocoa/download_request_dialog_delegate_mac.mm
|
| index 3a34940932cfa7ffc2000e6e3f5cedf6233fc4f8..0eaa0bd97f9193d582bf47b55235b459d523d884 100644
|
| --- a/chrome/browser/cocoa/download_request_dialog_delegate_mac.mm
|
| +++ b/chrome/browser/cocoa/download_request_dialog_delegate_mac.mm
|
| @@ -30,9 +30,9 @@
|
| }
|
| return self;
|
| }
|
| -- (void) alertDidEnd:(NSAlert *)alert
|
| - returnCode:(int)returnCode
|
| - contextInfo:(void *)contextInfo {
|
| +- (void)alertDidEnd:(NSAlert *)alert
|
| + returnCode:(int)returnCode
|
| + contextInfo:(void *)contextInfo {
|
| target_->SheetDidEnd(returnCode);
|
| }
|
| @end
|
| @@ -82,11 +82,11 @@ void DownloadRequestDialogDelegateMac::CloseWindow() {
|
| void DownloadRequestDialogDelegateMac::DeleteDelegate() {
|
| if (is_sheet_open()) {
|
| // Close sheet if it's still open.
|
| - [NSApp endSheet:[(NSAlert*)sheet() window]]; // class SheetDidEnd().
|
| + [NSApp endSheet:[(NSAlert*)sheet() window]]; // calls SheetDidEnd().
|
| DCHECK(responded_);
|
| }
|
| if (!responded_) {
|
| - // Happens if the sheet was never visible
|
| + // Happens if the sheet was never visible.
|
| responded_ = true;
|
| DoCancel();
|
| }
|
|
|