Chromium Code Reviews| Index: base/win/shortcut.cc |
| =================================================================== |
| --- base/win/shortcut.cc (revision 232633) |
| +++ base/win/shortcut.cc (working copy) |
| @@ -143,6 +143,11 @@ |
| } |
| } |
| + if ((properties.options & ShortcutProperties::PROPERTIES_HOTKEY) && |
| + FAILED(i_shell_link->SetHotkey(LOWORD(properties.hotkey)))) { |
|
robertshield
2013/11/04 02:19:55
nit: indent
cpu_(ooo_6.6-7.5)
2013/11/04 19:10:57
Done.
|
| + return false; |
| + } |
| + |
| // Release the interfaces to the old shortcut to make sure it doesn't prevent |
| // overwriting it if needed. |
| old_i_persist_file.Release(); |