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

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

Issue 1545243002: Convert Pass()→std::move() in //content/browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: content/browser/renderer_host/input/mock_input_ack_handler.h
diff --git a/content/browser/renderer_host/input/mock_input_ack_handler.h b/content/browser/renderer_host/input/mock_input_ack_handler.h
index a0e1aa92030dc0f071d4d3d00fd7161f3af2f6bd..4753a151350d15f4e2be5b98140c3be388ab0768 100644
--- a/content/browser/renderer_host/input/mock_input_ack_handler.h
+++ b/content/browser/renderer_host/input/mock_input_ack_handler.h
@@ -6,6 +6,7 @@
#define CONTENT_BROWSER_RENDERER_HOST_INPUT_MOCK_INPUT_ACK_HANDLER_H_
#include <stddef.h>
+#include <utility>
#include "base/memory/scoped_ptr.h"
#include "content/browser/renderer_host/input/input_ack_handler.h"
@@ -39,11 +40,11 @@ class MockInputAckHandler : public InputAckHandler {
}
void set_followup_touch_event(scoped_ptr<GestureEventWithLatencyInfo> event) {
- gesture_followup_event_ = event.Pass();
+ gesture_followup_event_ = std::move(event);
}
void set_followup_touch_event(scoped_ptr<TouchEventWithLatencyInfo> event) {
- touch_followup_event_ = event.Pass();
+ touch_followup_event_ = std::move(event);
}
bool unexpected_event_ack_called() const {
« no previous file with comments | « content/browser/renderer_host/input/input_router_impl.cc ('k') | content/browser/renderer_host/input/stylus_text_selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698