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

Unified Diff: chrome/app/client_util.cc

Issue 8344004: base/win: Add documentation to RegKey::Read/Write functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix indentation Created 9 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/app/client_util.cc
diff --git a/chrome/app/client_util.cc b/chrome/app/client_util.cc
index e7537250281ec78c2a2b53e174a4325041d1d8b3..cce76e4860b34d283dc4df92665c4af9d98fe39d 100644
--- a/chrome/app/client_util.cc
+++ b/chrome/app/client_util.cc
@@ -197,9 +197,9 @@ HMODULE LoadChromeWithDirectory(std::wstring* dir) {
base::win::RegKey key(HKEY_CURRENT_USER, L"Software\\Google\\ChromeFrame",
KEY_QUERY_VALUE);
if (key.Valid()) {
- key.ReadValueDW(L"PreReadSize", &pre_read_size);
- key.ReadValueDW(L"PreReadStepSize", &pre_read_step_size);
- key.ReadValueDW(L"PreRead", &pre_read);
+ key.ReadValue(L"PreReadSize", &pre_read_size);
+ key.ReadValue(L"PreReadStepSize", &pre_read_step_size);
+ key.ReadValue(L"PreRead", &pre_read);
key.Close();
}

Powered by Google App Engine
This is Rietveld 408576698