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

Unified Diff: chrome/browser/resources/shared/js/cr/ui/context_menu_handler.js

Issue 7215035: ntp4: add app context menu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: response to review comments Created 9 years, 6 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/resources/shared/js/cr/ui/context_menu_handler.js
diff --git a/chrome/browser/resources/shared/js/cr/ui/context_menu_handler.js b/chrome/browser/resources/shared/js/cr/ui/context_menu_handler.js
index e3e2fd5fdd0972e376a2675afaf5fbea7d91e6e4..4aeefabdb11b3754e42021ad0ea961aeafd31dc7 100644
--- a/chrome/browser/resources/shared/js/cr/ui/context_menu_handler.js
+++ b/chrome/browser/resources/shared/js/cr/ui/context_menu_handler.js
@@ -4,7 +4,6 @@
cr.define('cr.ui', function() {
- const positionPopupAtPoint = cr.ui.positionPopupAtPoint;
const Menu = cr.ui.Menu;
/**
@@ -95,7 +94,7 @@ cr.define('cr.ui', function() {
y = e.clientY;
}
- positionPopupAtPoint(x, y, menu);
+ cr.ui.positionPopupAtPoint(x, y, menu);
},
/**

Powered by Google App Engine
This is Rietveld 408576698