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

Unified Diff: chrome/browser/ui/app_list/arc/arc_app_utils.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/app_list/arc/arc_app_utils.cc
diff --git a/chrome/browser/ui/app_list/arc/arc_app_utils.cc b/chrome/browser/ui/app_list/arc/arc_app_utils.cc
index ad6a80cb37ab418317416adc632b86b9e1a1570f..9ca398400f10eacc57d726163d98b254805701f3 100644
--- a/chrome/browser/ui/app_list/arc/arc_app_utils.cc
+++ b/chrome/browser/ui/app_list/arc/arc_app_utils.cc
@@ -126,7 +126,7 @@ bool LaunchAppWithRect(content::BrowserContext* context,
ArcAppListPrefs* prefs = ArcAppListPrefs::Get(context);
CHECK(prefs);
- scoped_ptr<ArcAppListPrefs::AppInfo> app_info = prefs->GetApp(app_id);
+ std::unique_ptr<ArcAppListPrefs::AppInfo> app_info = prefs->GetApp(app_id);
if (!app_info) {
VLOG(2) << "Cannot launch unavailable app: " << app_id << ".";
return false;
@@ -172,7 +172,7 @@ bool CanHandleResolution(content::BrowserContext* context,
const gfx::Rect& rect,
const CanHandleResolutionCallback& callback) {
ArcAppListPrefs* prefs = ArcAppListPrefs::Get(context);
- scoped_ptr<ArcAppListPrefs::AppInfo> app_info = prefs->GetApp(app_id);
+ std::unique_ptr<ArcAppListPrefs::AppInfo> app_info = prefs->GetApp(app_id);
if (!app_info) {
VLOG(2) << "Cannot test resolution capability of unavailable app:" << app_id
<< ".";
« no previous file with comments | « chrome/browser/ui/app_list/arc/arc_app_unittest.cc ('k') | chrome/browser/ui/app_list/extension_app_context_menu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698