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

Unified Diff: ui/events/test/events_test_utils_x11.h

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/events/test/event_generator.cc ('k') | ui/events/test/test_event_processor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/test/events_test_utils_x11.h
diff --git a/ui/events/test/events_test_utils_x11.h b/ui/events/test/events_test_utils_x11.h
index 1a68b5b3dafef91d9172a69448225041d3abeae1..55aa4306d9be8ab6fda2a5f67d09233a445bd0de 100644
--- a/ui/events/test/events_test_utils_x11.h
+++ b/ui/events/test/events_test_utils_x11.h
@@ -5,8 +5,9 @@
#ifndef UI_EVENTS_TEST_EVENTS_TEST_UTILS_X11_H_
#define UI_EVENTS_TEST_EVENTS_TEST_UTILS_X11_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "ui/events/devices/x11/device_data_manager_x11.h"
#include "ui/events/event_constants.h"
#include "ui/events/keycodes/keyboard_codes.h"
@@ -88,7 +89,7 @@ class ScopedXI2Event {
void SetUpValuators(const std::vector<Valuator>& valuators);
- scoped_ptr<XEvent, XEventDeleter> event_;
+ std::unique_ptr<XEvent, XEventDeleter> event_;
DISALLOW_COPY_AND_ASSIGN(ScopedXI2Event);
};
« no previous file with comments | « ui/events/test/event_generator.cc ('k') | ui/events/test/test_event_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698