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

Unified Diff: ui/events/gesture_detection/motion_event.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
Index: ui/events/gesture_detection/motion_event.h
diff --git a/ui/events/gesture_detection/motion_event.h b/ui/events/gesture_detection/motion_event.h
index 7ee834e3f87d654fb486db5a0448655e211fcce2..9047d1a927a51666244a5b06937a53b7583025f4 100644
--- a/ui/events/gesture_detection/motion_event.h
+++ b/ui/events/gesture_detection/motion_event.h
@@ -8,7 +8,8 @@
#include <stddef.h>
#include <stdint.h>
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "base/time/time.h"
#include "ui/events/gesture_detection/gesture_detection_export.h"
@@ -117,8 +118,8 @@ class GESTURE_DETECTION_EXPORT MotionEvent {
// They guarantee only that the returned type will reflect the same
// data exposed by the MotionEvent interface; no guarantees are made that the
// underlying implementation is identical to the source implementation.
- scoped_ptr<MotionEvent> Clone() const;
- scoped_ptr<MotionEvent> Cancel() const;
+ std::unique_ptr<MotionEvent> Clone() const;
+ std::unique_ptr<MotionEvent> Cancel() const;
};
} // namespace ui
« no previous file with comments | « ui/events/gesture_detection/gesture_provider_unittest.cc ('k') | ui/events/gesture_detection/motion_event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698