| Index: chrome/browser/ui/gtk/extensions/extension_keybinding_registry_gtk.cc
|
| ===================================================================
|
| --- chrome/browser/ui/gtk/extensions/extension_keybinding_registry_gtk.cc (revision 149159)
|
| +++ chrome/browser/ui/gtk/extensions/extension_keybinding_registry_gtk.cc (working copy)
|
| @@ -66,8 +66,8 @@
|
| return;
|
| }
|
|
|
| - extensions::CommandMap::const_iterator iter = commands.begin();
|
| - for (; iter != commands.end(); ++iter) {
|
| + for (extensions::CommandMap::const_iterator iter = commands.begin();
|
| + iter != commands.end(); ++iter) {
|
| if (!command_name.empty() && (iter->second.command_name() != command_name))
|
| continue;
|
|
|
| @@ -129,7 +129,7 @@
|
| EventTargets::iterator iter = event_targets_.begin();
|
| while (iter != event_targets_.end()) {
|
| if (iter->second.first != extension->id() ||
|
| - (!command_name.empty() && (iter->second.second != command_name))) {
|
| + (!command_name.empty() && iter->second.second != command_name)) {
|
| ++iter;
|
| continue; // Not the extension or command we asked for.
|
| }
|
|
|