Index: chrome/browser/ui/gtk/location_bar_view_gtk.cc |
=================================================================== |
--- chrome/browser/ui/gtk/location_bar_view_gtk.cc (revision 137495) |
+++ chrome/browser/ui/gtk/location_bar_view_gtk.cc (working copy) |
@@ -1690,7 +1690,8 @@ |
ExtensionCommandServiceFactory::GetForProfile( |
owner_->browser()->profile()); |
const extensions::Command* command = |
- command_service->GetActivePageActionCommand(extension->id()); |
+ command_service->GetPageActionCommand( |
+ extension->id(), ExtensionCommandService::ACTIVE_ONLY); |
if (command) { |
// Found the browser action shortcut command, register it. |
keybinding_.reset(new ui::AcceleratorGtk( |