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

Unified Diff: content/browser/gpu/gpu_internals_ui.cc

Issue 2476493003: Remove FundamentalValue
Patch Set: Fix Created 4 years, 1 month 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
« no previous file with comments | « content/browser/devtools/protocol_string.cc ('k') | content/browser/indexed_db/indexed_db_internals_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_internals_ui.cc
diff --git a/content/browser/gpu/gpu_internals_ui.cc b/content/browser/gpu/gpu_internals_ui.cc
index e5db500347597d009a17e7a2e984410647618f4f..e1efd15056b88b180bd8d0147c7c9ad08ec542dd 100644
--- a/content/browser/gpu/gpu_internals_ui.cc
+++ b/content/browser/gpu/gpu_internals_ui.cc
@@ -126,9 +126,9 @@ base::DictionaryValue* GpuInfoAsDictionaryValue() {
"Initialization time",
base::Int64ToString(gpu_info.initialization_time.InMilliseconds())));
basic_info->Append(NewDescriptionValuePair(
- "In-process GPU", new base::FundamentalValue(gpu_info.in_process_gpu)));
+ "In-process GPU", new base::Value(gpu_info.in_process_gpu)));
basic_info->Append(NewDescriptionValuePair(
- "Sandboxed", new base::FundamentalValue(gpu_info.sandboxed)));
+ "Sandboxed", new base::Value(gpu_info.sandboxed)));
basic_info->Append(NewDescriptionValuePair(
"GPU0", GPUDeviceToString(gpu_info.gpu)));
for (size_t i = 0; i < gpu_info.secondary_gpus.size(); ++i) {
@@ -137,12 +137,12 @@ base::DictionaryValue* GpuInfoAsDictionaryValue() {
GPUDeviceToString(gpu_info.secondary_gpus[i])));
}
basic_info->Append(NewDescriptionValuePair(
- "Optimus", new base::FundamentalValue(gpu_info.optimus)));
+ "Optimus", new base::Value(gpu_info.optimus)));
basic_info->Append(NewDescriptionValuePair(
- "AMD switchable", new base::FundamentalValue(gpu_info.amd_switchable)));
+ "AMD switchable", new base::Value(gpu_info.amd_switchable)));
if (gpu_info.lenovo_dcute) {
basic_info->Append(NewDescriptionValuePair(
- "Lenovo dCute", new base::FundamentalValue(true)));
+ "Lenovo dCute", new base::Value(true)));
}
if (gpu_info.display_link_version.IsValid()) {
basic_info->Append(NewDescriptionValuePair(
@@ -241,7 +241,7 @@ base::DictionaryValue* GpuInfoAsDictionaryValue() {
basic_info->Append(NewDescriptionValuePair(
"GPU process crash count",
- new base::FundamentalValue(gpu_info.process_crash_count)));
+ new base::Value(gpu_info.process_crash_count)));
base::DictionaryValue* info = new base::DictionaryValue();
info->Set("basic_info", basic_info);
« no previous file with comments | « content/browser/devtools/protocol_string.cc ('k') | content/browser/indexed_db/indexed_db_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698