| Index: device/gamepad/public/interfaces/gamepad_struct_traits_unittest.cc
|
| diff --git a/device/gamepad/public/interfaces/gamepad_struct_traits_unittest.cc b/device/gamepad/public/interfaces/gamepad_struct_traits_unittest.cc
|
| index f1c5c27cfd46c2c896ec871715eac33e69c19ade..5a731fe88b005f08e5566a26eefce83284ff9b42 100644
|
| --- a/device/gamepad/public/interfaces/gamepad_struct_traits_unittest.cc
|
| +++ b/device/gamepad/public/interfaces/gamepad_struct_traits_unittest.cc
|
| @@ -2,6 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include <utility>
|
| +
|
| #include "base/message_loop/message_loop.h"
|
| #include "base/run_loop.h"
|
| #include "device/gamepad/public/cpp/gamepad.h"
|
| @@ -175,9 +177,8 @@ class GamepadStructTraitsTest : public testing::Test,
|
| protected:
|
| GamepadStructTraitsTest() : binding_(this) {}
|
|
|
| - void PassGamepad(const Gamepad& send,
|
| - const PassGamepadCallback& callback) override {
|
| - callback.Run(send);
|
| + void PassGamepad(const Gamepad& send, PassGamepadCallback callback) override {
|
| + std::move(callback).Run(send);
|
| }
|
|
|
| mojom::GamepadStructTraitsTestPtr GetGamepadStructTraitsTestProxy() {
|
|
|