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

Unified Diff: ash/test/test_keyboard_ui.h

Issue 1867223004: Convert //ash from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments 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 | « ash/test/task_switch_time_tracker_test_api.cc ('k') | ash/test/test_session_state_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_keyboard_ui.h
diff --git a/ash/test/test_keyboard_ui.h b/ash/test/test_keyboard_ui.h
index 47afda6e58a74232c08c10fca71e94a50410c760..a377c636d8538f171a818dd4e41e1944b52cd4f4 100644
--- a/ash/test/test_keyboard_ui.h
+++ b/ash/test/test_keyboard_ui.h
@@ -5,8 +5,9 @@
#ifndef ASH_TEST_TEST_KEYBOARD_UI_H_
#define ASH_TEST_TEST_KEYBOARD_UI_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "ui/aura/test/test_window_delegate.h"
#include "ui/keyboard/keyboard_ui.h"
@@ -35,7 +36,7 @@ class TestKeyboardUI : public keyboard::KeyboardUI {
void ResetInsets() override;
aura::test::TestWindowDelegate delegate_;
- scoped_ptr<aura::Window> keyboard_;
+ std::unique_ptr<aura::Window> keyboard_;
DISALLOW_COPY_AND_ASSIGN(TestKeyboardUI);
};
« no previous file with comments | « ash/test/task_switch_time_tracker_test_api.cc ('k') | ash/test/test_session_state_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698