Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(793)

Unified Diff: chrome/browser/tab_contents/tab_contents_view_mac.mm

Issue 7227007: [Mac] Show correct cursor after context menu is closed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698