Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3035)

Unified Diff: chrome/browser/search_engines/template_url_scraper_browsertest.cc

Issue 2307663002: Remove ScopedVector from search_engines. (Closed)
Patch Set: devlin Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/search_engines/template_url_scraper_browsertest.cc
diff --git a/chrome/browser/search_engines/template_url_scraper_browsertest.cc b/chrome/browser/search_engines/template_url_scraper_browsertest.cc
index 6a2cfd0ae2724b8702c339306d2fc06af4d3012f..36305e4fe8d09b87ba57828735b833f9702c7d2b 100644
--- a/chrome/browser/search_engines/template_url_scraper_browsertest.cc
+++ b/chrome/browser/search_engines/template_url_scraper_browsertest.cc
@@ -82,10 +82,9 @@ IN_PROC_BROWSER_TEST_F(TemplateURLScraperTest, ScrapeWithOnSubmit) {
// We need to substract the default pre-populated engines that the profile is
// set up with.
size_t default_index = 0;
- ScopedVector<TemplateURLData> prepopulate_urls =
+ std::vector<std::unique_ptr<TemplateURLData>> prepopulate_urls =
TemplateURLPrepopulateData::GetPrepopulatedEngines(
- browser()->profile()->GetPrefs(),
- &default_index);
+ browser()->profile()->GetPrefs(), &default_index);
EXPECT_EQ(prepopulate_urls.size(), all_urls.size());

Powered by Google App Engine
This is Rietveld 408576698