summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_processes_api.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/extension_processes_api.cc')
-rw-r--r--chrome/browser/extensions/extension_processes_api.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/extensions/extension_processes_api.cc b/chrome/browser/extensions/extension_processes_api.cc
index 5edc2f0..c4a5dd7 100644
--- a/chrome/browser/extensions/extension_processes_api.cc
+++ b/chrome/browser/extensions/extension_processes_api.cc
@@ -35,10 +35,10 @@ DictionaryValue* CreateProcessValue(int process_id,
DictionaryValue* result = new DictionaryValue();
result->SetInteger(keys::kIdKey, process_id);
result->SetString(keys::kTypeKey, type);
- result->SetReal(keys::kCpuKey, cpu);
- result->SetReal(keys::kNetworkKey, static_cast<double>(net));
- result->SetReal(keys::kPrivateMemoryKey, static_cast<double>(pr_mem));
- result->SetReal(keys::kSharedMemoryKey, static_cast<double>(sh_mem));
+ result->SetDouble(keys::kCpuKey, cpu);
+ result->SetDouble(keys::kNetworkKey, static_cast<double>(net));
+ result->SetDouble(keys::kPrivateMemoryKey, static_cast<double>(pr_mem));
+ result->SetDouble(keys::kSharedMemoryKey, static_cast<double>(sh_mem));
return result;
}