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

Unified Diff: chrome_frame/crash_reporting/crash_metrics.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_frame/crash_reporting/crash_metrics.cc
diff --git a/chrome_frame/crash_reporting/crash_metrics.cc b/chrome_frame/crash_reporting/crash_metrics.cc
index 8a103f1e6537bc818ed3bf166e6428d1234f65ad..3630a092f6df00a8792b5d486f15d62bf7de4c07 100644
--- a/chrome_frame/crash_reporting/crash_metrics.cc
+++ b/chrome_frame/crash_reporting/crash_metrics.cc
@@ -54,8 +54,8 @@ int CrashMetricsReporter::GetMetric(Metric metric) {
base::win::RegKey metric_key;
if (metric_key.Open(HKEY_CURRENT_USER, kChromeFrameMetricsKey,
KEY_QUERY_VALUE) == ERROR_SUCCESS) {
- metric_key.ReadValueDW(g_metric_names[metric],
- reinterpret_cast<DWORD*>(&ret));
+ metric_key.ReadValue(g_metric_names[metric],
+ reinterpret_cast<DWORD*>(&ret));
}
return ret;

Powered by Google App Engine
This is Rietveld 408576698