Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9799)

Unified Diff: chrome/installer/util/installation_state.cc

Issue 616173003: Allow Registry Iterator functions to use a specified WOW64 mode when iterating. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: code review comments Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/installer/util/installation_state.cc
diff --git a/chrome/installer/util/installation_state.cc b/chrome/installer/util/installation_state.cc
index 718e44a96f77d4100f49fc195da2c6827d6f6047..0173581ec220133d50cccb1c006ebaa1430d2932 100644
--- a/chrome/installer/util/installation_state.cc
+++ b/chrome/installer/util/installation_state.cc
@@ -42,7 +42,7 @@ bool ProductState::InitializeCommands(const base::win::RegKey& version_key,
if (commands_key.Open(version_key.Handle(), google_update::kRegCommandsKey,
kAccess) == ERROR_SUCCESS)
- return commands->Initialize(commands_key);
+ return commands->Initialize(commands_key, KEY_WOW64_32KEY);
return false;
}

Powered by Google App Engine
This is Rietveld 408576698