diff options
Diffstat (limited to 'content/browser/renderer_host/input/touch_action_browsertest.cc')
-rw-r--r-- | content/browser/renderer_host/input/touch_action_browsertest.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/content/browser/renderer_host/input/touch_action_browsertest.cc b/content/browser/renderer_host/input/touch_action_browsertest.cc index f8fc11a..72c8bc9 100644 --- a/content/browser/renderer_host/input/touch_action_browsertest.cc +++ b/content/browser/renderer_host/input/touch_action_browsertest.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/auto_reset.h" #include "base/bind.h" #include "base/command_line.h" @@ -148,7 +150,7 @@ class TouchActionBrowserTest : public ContentBrowserTest { scoped_ptr<SyntheticSmoothScrollGesture> gesture( new SyntheticSmoothScrollGesture(params)); GetWidgetHost()->QueueSyntheticGesture( - gesture.Pass(), + std::move(gesture), base::Bind(&TouchActionBrowserTest::OnSyntheticGestureCompleted, base::Unretained(this))); |