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

Unified Diff: ui/app_list/views/apps_grid_view_unittest.cc

Issue 1868363002: Replace scoped_ptr with std::unique_ptr in //ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptrcc
Patch Set: scopedptrui: rebase-make_scoped_ptr 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
« no previous file with comments | « ui/app_list/views/apps_grid_view.cc ('k') | ui/app_list/views/contents_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/apps_grid_view_unittest.cc
diff --git a/ui/app_list/views/apps_grid_view_unittest.cc b/ui/app_list/views/apps_grid_view_unittest.cc
index c5c0c565af6b3f867151c836071f53bb98403fbf..5eabd8d3fbda131a61791e818bba3148a2da99de 100644
--- a/ui/app_list/views/apps_grid_view_unittest.cc
+++ b/ui/app_list/views/apps_grid_view_unittest.cc
@@ -6,12 +6,12 @@
#include <stddef.h>
+#include <memory>
#include <string>
#include "base/command_line.h"
#include "base/compiler_specific.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/utf_string_conversions.h"
@@ -173,9 +173,9 @@ class AppsGridViewTest : public views::ViewsTestBase {
apps_grid_view_->OnKeyPressed(key_event);
}
- scoped_ptr<AppListTestModel> model_;
- scoped_ptr<AppsGridView> apps_grid_view_;
- scoped_ptr<AppsGridViewTestApi> test_api_;
+ std::unique_ptr<AppListTestModel> model_;
+ std::unique_ptr<AppsGridView> apps_grid_view_;
+ std::unique_ptr<AppsGridViewTestApi> test_api_;
private:
DISALLOW_COPY_AND_ASSIGN(AppsGridViewTest);
« no previous file with comments | « ui/app_list/views/apps_grid_view.cc ('k') | ui/app_list/views/contents_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698