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

Unified Diff: chrome/browser/ui/search/new_tab_page_interceptor_browsertest.cc

Issue 2290503003: Remove use of stl_util in search_engines. (Closed)
Patch Set: ios for reals Created 4 years, 4 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/ui/search/new_tab_page_interceptor_browsertest.cc
diff --git a/chrome/browser/ui/search/new_tab_page_interceptor_browsertest.cc b/chrome/browser/ui/search/new_tab_page_interceptor_browsertest.cc
index 1a2045d2c1867b35245cb571b9739938928b819a..6bc71b942b67befa73d638229c4953c8272e1110 100644
--- a/chrome/browser/ui/search/new_tab_page_interceptor_browsertest.cc
+++ b/chrome/browser/ui/search/new_tab_page_interceptor_browsertest.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "base/files/file_path.h"
+#include "base/memory/ptr_util.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/search/search.h"
@@ -59,7 +60,7 @@ class NewTabPageInterceptorTest : public InProcessBrowserTest {
data.new_tab_url = base_url + new_tab_path;
TemplateURL* template_url = new TemplateURL(data);
// Takes ownership of |template_url|.
Peter Kasting 2016/08/31 04:12:56 Nit: Comment is now redundant.
Avi (use Gerrit) 2016/09/01 00:34:26 Done.
- template_url_service->Add(template_url);
+ template_url_service->Add(base::WrapUnique(template_url));
template_url_service->SetUserSelectedDefaultSearchProvider(template_url);
}

Powered by Google App Engine
This is Rietveld 408576698