Index: tools/gn/command_desc.cc |
diff --git a/tools/gn/command_desc.cc b/tools/gn/command_desc.cc |
index 72525e97fd05304987f23e9e5280efb2f74dc2d0..acb8077374bbb55027f3e891cbcff4739b25058b 100644 |
--- a/tools/gn/command_desc.cc |
+++ b/tools/gn/command_desc.cc |
@@ -459,7 +459,7 @@ int RunDesc(const std::vector<std::string>& args) { |
if (json) { |
// Convert all targets/configs to JSON, serialize and print them |
- auto res = base::WrapUnique(new base::DictionaryValue()); |
+ auto res = base::MakeUnique<base::DictionaryValue>(); |
if (!target_matches.empty()) { |
for (const auto* target : target_matches) { |
res->Set(target->label().GetUserVisibleName( |