Index: chrome/utility/media_galleries/media_metadata_parser.cc |
diff --git a/chrome/utility/media_galleries/media_metadata_parser.cc b/chrome/utility/media_galleries/media_metadata_parser.cc |
index 43f80521820180a4d5455845082c7b1024595543..26d6d42f0862196d0cdb4adfafd1304f2a28d768 100644 |
--- a/chrome/utility/media_galleries/media_metadata_parser.cc |
+++ b/chrome/utility/media_galleries/media_metadata_parser.cc |
@@ -22,13 +22,13 @@ namespace metadata { |
namespace { |
void SetStringScopedPtr(const std::string& value, |
- scoped_ptr<std::string>* destination) { |
+ std::unique_ptr<std::string>* destination) { |
DCHECK(destination); |
if (!value.empty()) |
destination->reset(new std::string(value)); |
} |
-void SetIntScopedPtr(int value, scoped_ptr<int>* destination) { |
+void SetIntScopedPtr(int value, std::unique_ptr<int>* destination) { |
DCHECK(destination); |
if (value >= 0) |
destination->reset(new int(value)); |