Index: components/cloud_devices/common/printer_description_unittest.cc |
diff --git a/components/cloud_devices/common/printer_description_unittest.cc b/components/cloud_devices/common/printer_description_unittest.cc |
index 72d0ee469918fba67caad25388b537a3cd3928f7..f190e17d5b831ad88cd658da82505e4e8cb5c862 100644 |
--- a/components/cloud_devices/common/printer_description_unittest.cc |
+++ b/components/cloud_devices/common/printer_description_unittest.cc |
@@ -4,6 +4,8 @@ |
#include "components/cloud_devices/common/printer_description.h" |
+#include <memory> |
+ |
#include "base/json/json_reader.h" |
#include "base/json/json_writer.h" |
#include "base/strings/string_util.h" |
@@ -20,7 +22,7 @@ namespace printer { |
std::string NormalizeJson(const std::string& json) { |
std::string result = json; |
base::ReplaceChars(result, "'", "\"", &result); |
- scoped_ptr<base::Value> value = base::JSONReader::Read(result); |
+ std::unique_ptr<base::Value> value = base::JSONReader::Read(result); |
DCHECK(value); |
base::JSONWriter::Write(*value, &result); |
return result; |