| Index: chrome/browser/ui/webui/extensions/command_handler.cc
|
| diff --git a/chrome/browser/ui/webui/extensions/command_handler.cc b/chrome/browser/ui/webui/extensions/command_handler.cc
|
| index b5504af398674094594f9ed2368c16e41c56bbac..79f942ab09ae694ea63b30d1ce303a680725f050 100644
|
| --- a/chrome/browser/ui/webui/extensions/command_handler.cc
|
| +++ b/chrome/browser/ui/webui/extensions/command_handler.cc
|
| @@ -127,11 +127,8 @@ void CommandHandler::HandleSetShortcutHandlingSuspended(
|
| const base::ListValue* args) {
|
| bool suspended;
|
| if (args->GetBoolean(0, &suspended)) {
|
| - // Suspend/Resume normal shortcut handling.
|
| - ExtensionKeybindingRegistry::SetShortcutHandlingSuspended(suspended);
|
| -
|
| - // Suspend/Resume global shortcut handling.
|
| - ExtensionCommandsGlobalRegistry::SetShortcutHandlingSuspended(suspended);
|
| + ExtensionCommandsGlobalRegistry::Get(Profile::FromWebUI(web_ui()))->
|
| + SetShortcutHandlingSuspended(suspended);
|
| }
|
| }
|
|
|
|
|