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

Unified Diff: content/browser/renderer_host/input/synthetic_gesture_controller.h

Issue 1415223007: Utilize std::move(scoped_ptr) while using it with ScopedVector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolving build issues Created 4 years, 11 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 | « AUTHORS ('k') | content/browser/renderer_host/media/audio_input_sync_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/input/synthetic_gesture_controller.h
diff --git a/content/browser/renderer_host/input/synthetic_gesture_controller.h b/content/browser/renderer_host/input/synthetic_gesture_controller.h
index aeef18f5024ef28beb29f3e7a270a6c08f2e4a1d..f7b03c2fd795159b0a8dad61a6dee8965a4de6e7 100644
--- a/content/browser/renderer_host/input/synthetic_gesture_controller.h
+++ b/content/browser/renderer_host/input/synthetic_gesture_controller.h
@@ -60,7 +60,7 @@ class CONTENT_EXPORT SyntheticGestureController {
~GestureAndCallbackQueue();
void Push(scoped_ptr<SyntheticGesture> gesture,
const OnGestureCompleteCallback& callback) {
- gestures_.push_back(gesture.release());
+ gestures_.push_back(std::move(gesture));
callbacks_.push(callback);
}
void Pop() {
« no previous file with comments | « AUTHORS ('k') | content/browser/renderer_host/media/audio_input_sync_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698