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

Unified Diff: ui/events/gesture_detection/motion_event_buffer_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
Index: ui/events/gesture_detection/motion_event_buffer_unittest.cc
diff --git a/ui/events/gesture_detection/motion_event_buffer_unittest.cc b/ui/events/gesture_detection/motion_event_buffer_unittest.cc
index b109f0d6017eac8538f6ba4d6af03c0657f138c6..8a55e21a0c716a8d7e80b36e300996f9477644ac 100644
--- a/ui/events/gesture_detection/motion_event_buffer_unittest.cc
+++ b/ui/events/gesture_detection/motion_event_buffer_unittest.cc
@@ -178,7 +178,7 @@ class MotionEventBufferTest : public testing::Test,
gfx::Vector2dF velocity(33.f, -11.f);
gfx::PointF position(17.f, 42.f);
- scoped_ptr<MotionEvent> last_flushed_event;
+ std::unique_ptr<MotionEvent> last_flushed_event;
size_t events = 0;
float last_dx = 0, last_dy = 0;
base::TimeDelta last_dt;
« no previous file with comments | « ui/events/gesture_detection/motion_event_buffer.cc ('k') | ui/events/gesture_detection/motion_event_generic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698