Index: chrome/installer/util/uninstall_metrics.cc |
diff --git a/chrome/installer/util/uninstall_metrics.cc b/chrome/installer/util/uninstall_metrics.cc |
index 606b132d929fe9c586b29a8eb95fbf5f84d75326..3be41c4f1cc48592b3222f641e4fabfee36d2c97 100644 |
--- a/chrome/installer/util/uninstall_metrics.cc |
+++ b/chrome/installer/util/uninstall_metrics.cc |
@@ -4,12 +4,12 @@ |
#include "chrome/installer/util/uninstall_metrics.h" |
+#include <memory> |
#include <string> |
#include "base/files/file_path.h" |
#include "base/json/json_file_value_serializer.h" |
#include "base/logging.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/strings/utf_string_conversions.h" |
#include "chrome/common/pref_names.h" |
#include "chrome/installer/util/util_constants.h" |
@@ -78,7 +78,7 @@ bool ExtractUninstallMetricsFromFile(const base::FilePath& file_path, |
JSONFileValueDeserializer json_deserializer(file_path); |
std::string json_error_string; |
- scoped_ptr<base::Value> root = json_deserializer.Deserialize(NULL, NULL); |
+ std::unique_ptr<base::Value> root = json_deserializer.Deserialize(NULL, NULL); |
if (!root.get()) |
return false; |