| Index: chrome/browser/tab_contents/tab_contents_view_mac.mm
|
| ===================================================================
|
| --- chrome/browser/tab_contents/tab_contents_view_mac.mm (revision 91505)
|
| +++ chrome/browser/tab_contents/tab_contents_view_mac.mm (working copy)
|
| @@ -259,10 +259,10 @@
|
| }
|
|
|
| void TabContentsViewMac::ShowContextMenu(const ContextMenuParams& params) {
|
| - RenderViewContextMenuMac menu(tab_contents(),
|
| - params,
|
| - GetContentNativeView());
|
| - menu.Init();
|
| + context_menu_.reset(new RenderViewContextMenuMac(tab_contents(),
|
| + params,
|
| + GetContentNativeView()));
|
| + context_menu_->Init();
|
| }
|
|
|
| // Display a popup menu for WebKit using Cocoa widgets.
|
|
|