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

Unified Diff: chrome/browser/ui/search_engines/search_engine_tab_helper.cc

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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_engines/search_engine_tab_helper.cc
diff --git a/chrome/browser/ui/search_engines/search_engine_tab_helper.cc b/chrome/browser/ui/search_engines/search_engine_tab_helper.cc
index bf1864b455cb33c1adcfdff81156f64936ad7ec9..619c8f03797d86b68db720c56d40be28d1014ad1 100644
--- a/chrome/browser/ui/search_engines/search_engine_tab_helper.cc
+++ b/chrome/browser/ui/search_engines/search_engine_tab_helper.cc
@@ -177,7 +177,7 @@ void SearchEngineTabHelper::OnPageHasOSDD(
}
void SearchEngineTabHelper::OnDownloadedOSDD(
- scoped_ptr<TemplateURL> template_url) {
+ std::unique_ptr<TemplateURL> template_url) {
Profile* profile =
Profile::FromBrowserContext(web_contents()->GetBrowserContext());
delegate_->ConfirmAddSearchProvider(template_url.release(), profile);

Powered by Google App Engine
This is Rietveld 408576698