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

Unified Diff: ui/base/ime/chromeos/ime_keyboard_x11_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/base/ime/chromeos/ime_keyboard_x11.h ('k') | ui/base/ime/chromeos/input_method_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/chromeos/ime_keyboard_x11_unittest.cc
diff --git a/ui/base/ime/chromeos/ime_keyboard_x11_unittest.cc b/ui/base/ime/chromeos/ime_keyboard_x11_unittest.cc
index d746b639ae66eb42ac486b012ebd9a9e1c961fc1..d1156a4576e0ab98c9cc666ca21ef3fc52a44f6c 100644
--- a/ui/base/ime/chromeos/ime_keyboard_x11_unittest.cc
+++ b/ui/base/ime/chromeos/ime_keyboard_x11_unittest.cc
@@ -4,18 +4,18 @@
#include "ui/base/ime/chromeos/ime_keyboard.h"
+#include <X11/Xlib.h>
+
#include <algorithm>
+#include <memory>
#include <set>
#include <string>
#include "base/logging.h"
-#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/x/x11_types.h"
-#include <X11/Xlib.h>
-
namespace chromeos {
namespace input_method {
@@ -47,7 +47,7 @@ class ImeKeyboardTest : public testing::Test,
caps_changed_ = false;
}
- scoped_ptr<ImeKeyboard> xkey_;
+ std::unique_ptr<ImeKeyboard> xkey_;
base::MessageLoopForUI message_loop_;
bool caps_changed_;
};
« no previous file with comments | « ui/base/ime/chromeos/ime_keyboard_x11.h ('k') | ui/base/ime/chromeos/input_method_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698