Index: remoting/webapp/app_remoting/js/context_menu_chrome.js |
diff --git a/remoting/webapp/app_remoting/js/context_menu_chrome.js b/remoting/webapp/app_remoting/js/context_menu_chrome.js |
index 0e9ec303cb65e6af9922644cc69a226206d58214..337be594a80695f788a25e5190b83d9e73737660 100644 |
--- a/remoting/webapp/app_remoting/js/context_menu_chrome.js |
+++ b/remoting/webapp/app_remoting/js/context_menu_chrome.js |
@@ -18,7 +18,9 @@ var remoting = remoting || {}; |
*/ |
remoting.ContextMenuChrome = function() {}; |
-remoting.ContextMenuChrome.prototype.dispose = function() {}; |
+remoting.ContextMenuChrome.prototype.dispose = function() { |
+ chrome.contextMenus.removeAll(); |
+}; |
/** |
* @param {string} id An identifier for the menu entry. |