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