Index: chrome/browser/resources/extensions/extension_commands_overlay.js |
diff --git a/chrome/browser/resources/extensions/extension_commands_overlay.js b/chrome/browser/resources/extensions/extension_commands_overlay.js |
index ab56eb4e1719d0ef3a5c43d1ebc754ff27abc07d..9b51f341f90fc764d2f789ad9de6f40fc5a399e3 100644 |
--- a/chrome/browser/resources/extensions/extension_commands_overlay.js |
+++ b/chrome/browser/resources/extensions/extension_commands_overlay.js |
@@ -34,8 +34,9 @@ cr.define('extensions', function() { |
this.extensionCommandList_ = new ExtensionCommandList( |
/**@type {HTMLDivElement} */($('extension-command-list'))); |
- $('extension-commands-dismiss').addEventListener('click', |
- this.handleDismiss_.bind(this)); |
+ $('extension-commands-dismiss').addEventListener('click', function() { |
+ cr.dispatchSimpleEvent(overlay, 'cancelOverlay'); |
+ }); |
// The ExtensionList will update us with its data, so we don't need to |
// handle that here. |