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

Unified Diff: chrome/browser/ui/ash/launcher/launcher_item_controller.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/ash/launcher/launcher_item_controller.cc
diff --git a/chrome/browser/ui/ash/launcher/launcher_item_controller.cc b/chrome/browser/ui/ash/launcher/launcher_item_controller.cc
index 8ab4eead0e00d912ef332e71390a3ff8c9ecebe6..c6c35dd429bb7420fb9a4790aa22a79b098520b7 100644
--- a/chrome/browser/ui/ash/launcher/launcher_item_controller.cc
+++ b/chrome/browser/ui/ash/launcher/launcher_item_controller.cc
@@ -44,7 +44,8 @@ base::string16 LauncherItemController::GetAppTitle() const {
ArcAppListPrefs::Get(launcher_controller_->profile());
DCHECK(arc_prefs);
if (arc_prefs->IsRegistered(app_id_)) {
- scoped_ptr<ArcAppListPrefs::AppInfo> app_info = arc_prefs->GetApp(app_id_);
+ std::unique_ptr<ArcAppListPrefs::AppInfo> app_info =
+ arc_prefs->GetApp(app_id_);
DCHECK(app_info.get());
if (app_info)
title = base::UTF8ToUTF16(app_info->name);

Powered by Google App Engine
This is Rietveld 408576698