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 10a95170def094c68ad117daac1ff50e10adbb27..da9bf2eeb9f281ec342dc5b0b52b4a177fdbf5ce 100644 |
--- a/content/browser/gpu/gpu_internals_ui.cc |
+++ b/content/browser/gpu/gpu_internals_ui.cc |
@@ -247,7 +247,7 @@ base::DictionaryValue* GpuInfoAsDictionaryValue() { |
info->Set("basic_info", basic_info); |
#if defined(OS_WIN) |
- std::unique_ptr<base::Value> dx_info = base::Value::CreateNullValue(); |
+ auto dx_info = base::MakeUnique<base::Value>(); |
if (gpu_info.dx_diagnostics.children.size()) |
dx_info.reset(DxDiagNodeToList(gpu_info.dx_diagnostics)); |
info->Set("diagnostics", std::move(dx_info)); |