Index: chrome/installer/util/app_commands.cc |
diff --git a/chrome/installer/util/app_commands.cc b/chrome/installer/util/app_commands.cc |
index de7dcc266ebbb4a414f11c01b1c9f622bc1aaedd..4f98a4fac448ef72daba5b293866ff1497eb67a6 100644 |
--- a/chrome/installer/util/app_commands.cc |
+++ b/chrome/installer/util/app_commands.cc |
@@ -33,8 +33,10 @@ bool AppCommands::Initialize(const base::win::RegKey& key) { |
RegKey cmd_key; |
LONG result; |
AppCommand command; |
- for (RegistryKeyIterator key_iterator(key.Handle(), kEmptyString); |
- key_iterator.Valid(); ++key_iterator) { |
+ for (RegistryKeyIterator key_iterator( |
+ key.Handle(), kEmptyString, KEY_WOW64_32KEY); |
grt (UTC plus 2)
2014/10/01 17:14:30
this is ugly. it so happens that it's correct, but
Will Harris
2014/10/01 17:20:21
yes, and it's not by coincidence, I manually went
grt (UTC plus 2)
2014/10/01 17:33:49
I wish I did. The whys and wherefores for these ma
cpu_(ooo_6.6-7.5)
2014/10/06 19:48:57
you can have as many constructors as you need, in
Will Harris
2014/10/07 02:03:16
Done.
|
+ key_iterator.Valid(); |
+ ++key_iterator) { |
const wchar_t* name = key_iterator.Name(); |
result = cmd_key.Open(key.Handle(), name, KEY_QUERY_VALUE); |
if (result != ERROR_SUCCESS) { |