Index: chrome/browser/android/preferences/important_sites_util_unittest.cc |
diff --git a/chrome/browser/android/preferences/important_sites_util_unittest.cc b/chrome/browser/android/preferences/important_sites_util_unittest.cc |
index 5d72738ef430079c4b240210175cb43cd96399fc..d982c98f005bc3af10e9dc4c7fa9309f1524031a 100644 |
--- a/chrome/browser/android/preferences/important_sites_util_unittest.cc |
+++ b/chrome/browser/android/preferences/important_sites_util_unittest.cc |
@@ -33,9 +33,10 @@ namespace { |
const size_t kNumImportantSites = 5; |
base::FilePath g_temp_history_dir; |
-scoped_ptr<KeyedService> BuildTestHistoryService( |
+std::unique_ptr<KeyedService> BuildTestHistoryService( |
content::BrowserContext* context) { |
- scoped_ptr<history::HistoryService> service(new history::HistoryService()); |
+ std::unique_ptr<history::HistoryService> service( |
+ new history::HistoryService()); |
service->Init(history::TestHistoryDatabaseParamsForPath(g_temp_history_dir)); |
return std::move(service); |
} |