| Index: chrome/browser/ui/cocoa/download/download_item_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/download/download_item_controller.mm b/chrome/browser/ui/cocoa/download/download_item_controller.mm
|
| index 801e739b3074804b64b7aa86894f1bf777e9266e..7ffaf4e05044fd26455e6af31c1ca681d8e09ec5 100644
|
| --- a/chrome/browser/ui/cocoa/download/download_item_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/download/download_item_controller.mm
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Copyright 2012 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -370,13 +370,7 @@ class DownloadShelfContextMenuMac : public DownloadShelfContextMenu {
|
| }
|
|
|
| - (IBAction)showContextMenu:(id)sender {
|
| - base::scoped_nsobject<DownloadShelfContextMenuController> menuController(
|
| - [[DownloadShelfContextMenuController alloc]
|
| - initWithItemController:self
|
| - withDelegate:nil]);
|
| - [NSMenu popUpContextMenu:[menuController menu]
|
| - withEvent:[NSApp currentEvent]
|
| - forView:[self view]];
|
| + [progressView_ showContextMenu];
|
| }
|
|
|
| @end
|
|
|