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

Unified Diff: chrome/browser/ui/webui/app_launcher_page_ui.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/webui/app_launcher_page_ui.cc
diff --git a/chrome/browser/ui/webui/app_launcher_page_ui.cc b/chrome/browser/ui/webui/app_launcher_page_ui.cc
index 84dde771260ab10624906e83349bc9376224039b..a3707bb0e0b84c543dc749dbe5f6d1d403da61a5 100644
--- a/chrome/browser/ui/webui/app_launcher_page_ui.cc
+++ b/chrome/browser/ui/webui/app_launcher_page_ui.cc
@@ -59,7 +59,7 @@ AppLauncherPageUI::AppLauncherPageUI(content::WebUI* web_ui)
web_ui->AddMessageHandler(new ThemeHandler());
#endif
- scoped_ptr<HTMLSource> html_source(
+ std::unique_ptr<HTMLSource> html_source(
new HTMLSource(GetProfile()->GetOriginalProfile()));
content::URLDataSource::Add(GetProfile(), html_source.release());
}
« no previous file with comments | « chrome/browser/ui/webui/app_launcher_login_handler.h ('k') | chrome/browser/ui/webui/app_list/start_page_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698