Index: chrome/browser/extensions/api/top_sites/top_sites_api.cc |
diff --git a/chrome/browser/extensions/api/top_sites/top_sites_api.cc b/chrome/browser/extensions/api/top_sites/top_sites_api.cc |
index c229cbb8f7f1e3302a4740b31cc13a49ea3d2234..0917592988dcb92b1e76171ed61f422eeb30660c 100644 |
--- a/chrome/browser/extensions/api/top_sites/top_sites_api.cc |
+++ b/chrome/browser/extensions/api/top_sites/top_sites_api.cc |
@@ -34,7 +34,7 @@ bool TopSitesGetFunction::RunAsync() { |
void TopSitesGetFunction::OnMostVisitedURLsAvailable( |
const history::MostVisitedURLList& data) { |
- scoped_ptr<base::ListValue> pages_value(new base::ListValue); |
+ std::unique_ptr<base::ListValue> pages_value(new base::ListValue); |
for (size_t i = 0; i < data.size(); i++) { |
const history::MostVisitedURL& url = data[i]; |
if (!url.url.is_empty()) { |