Index: mojo/converters/blink/blink_input_events_type_converters.cc |
diff --git a/mojo/converters/blink/blink_input_events_type_converters.cc b/mojo/converters/blink/blink_input_events_type_converters.cc |
index eca9face9876bfb1427c2a1996eab351338830de..3700340b1b69630655f9a0966f452037127aba86 100644 |
--- a/mojo/converters/blink/blink_input_events_type_converters.cc |
+++ b/mojo/converters/blink/blink_input_events_type_converters.cc |
@@ -4,6 +4,8 @@ |
#include "mojo/converters/blink/blink_input_events_type_converters.h" |
+#include <utility> |
+ |
#include "base/logging.h" |
#include "base/time/time.h" |
#include "components/mus/public/interfaces/input_event_constants.mojom.h" |
@@ -105,7 +107,7 @@ scoped_ptr<blink::WebInputEvent> BuildWebMouseEventFrom( |
web_event->clickCount = GetClickCount(event->flags); |
- return web_event.Pass(); |
+ return std::move(web_event); |
} |
scoped_ptr<blink::WebInputEvent> BuildWebKeyboardEvent( |
@@ -137,7 +139,7 @@ scoped_ptr<blink::WebInputEvent> BuildWebKeyboardEvent( |
web_event->unmodifiedText[0] = event->key_data->unmodified_text; |
web_event->setKeyIdentifierFromWindowsKeyCode(); |
- return web_event.Pass(); |
+ return std::move(web_event); |
} |
scoped_ptr<blink::WebInputEvent> BuildWebMouseWheelEventFrom( |
@@ -188,7 +190,7 @@ scoped_ptr<blink::WebInputEvent> BuildWebMouseWheelEventFrom( |
break; |
} |
- return web_event.Pass(); |
+ return std::move(web_event); |
} |
} // namespace |