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

Unified Diff: ash/accelerators/accelerator_commands_unittest.cc

Issue 1867223004: Convert //ash from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: ash/accelerators/accelerator_commands_unittest.cc
diff --git a/ash/accelerators/accelerator_commands_unittest.cc b/ash/accelerators/accelerator_commands_unittest.cc
index 3bc1ece05e2cda21a41dfe2de038deee205c6861..ff65dbaca31f95dd6a8968ca8745c161440c6ec3 100644
--- a/ash/accelerators/accelerator_commands_unittest.cc
+++ b/ash/accelerators/accelerator_commands_unittest.cc
@@ -20,9 +20,9 @@ namespace accelerators {
typedef test::AshTestBase AcceleratorCommandsTest;
TEST_F(AcceleratorCommandsTest, ToggleMinimized) {
- scoped_ptr<aura::Window> window1(
+ std::unique_ptr<aura::Window> window1(
CreateTestWindowInShellWithBounds(gfx::Rect(5, 5, 20, 20)));
- scoped_ptr<aura::Window> window2(
+ std::unique_ptr<aura::Window> window2(
CreateTestWindowInShellWithBounds(gfx::Rect(5, 5, 20, 20)));
wm::WindowState* window_state1 = wm::GetWindowState(window1.get());
wm::WindowState* window_state2 = wm::GetWindowState(window2.get());
« no previous file with comments | « no previous file | ash/accelerators/accelerator_controller.h » ('j') | ash/ash_touch_exploration_manager_chromeos.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698