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

Unified Diff: chrome/browser/ui/app_list/app_context_menu.h

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/app_context_menu.h
diff --git a/chrome/browser/ui/app_list/app_context_menu.h b/chrome/browser/ui/app_list/app_context_menu.h
index a6e9c7cf61066624e3cb6901255ba5db8383c7a8..1488f175fda3bfe771f6ab70823bb73b388bc737 100644
--- a/chrome/browser/ui/app_list/app_context_menu.h
+++ b/chrome/browser/ui/app_list/app_context_menu.h
@@ -5,10 +5,10 @@
#ifndef CHROME_BROWSER_UI_APP_LIST_APP_CONTEXT_MENU_H_
#define CHROME_BROWSER_UI_APP_LIST_APP_CONTEXT_MENU_H_
+#include <memory>
#include <string>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "ui/base/models/simple_menu_model.h"
class AppListControllerDelegate;
@@ -76,7 +76,7 @@ class AppContextMenu : public ui::SimpleMenuModel::Delegate {
const std::string app_id_;
AppListControllerDelegate* controller_;
- scoped_ptr<ui::SimpleMenuModel> menu_model_;
+ std::unique_ptr<ui::SimpleMenuModel> menu_model_;
DISALLOW_COPY_AND_ASSIGN(AppContextMenu);
};
« no previous file with comments | « chrome/browser/ui/android/website_settings_popup_android.h ('k') | chrome/browser/ui/app_list/app_context_menu_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698