From 36b6aec9a5f4953e2177146503096ca7de00cc36 Mon Sep 17 00:00:00 2001 From: dcheng Date: Fri, 25 Dec 2015 22:16:36 -0800 Subject: =?UTF-8?q?Convert=20Pass()=E2=86=92std::move()=20in=20//content/b?= =?UTF-8?q?rowser?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BUG=557422 Review URL: https://codereview.chromium.org/1545243002 Cr-Commit-Position: refs/heads/master@{#366894} --- content/browser/renderer_host/input/touch_action_browsertest.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'content/browser/renderer_host/input/touch_action_browsertest.cc') 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 + #include "base/auto_reset.h" #include "base/bind.h" #include "base/command_line.h" @@ -148,7 +150,7 @@ class TouchActionBrowserTest : public ContentBrowserTest { scoped_ptr gesture( new SyntheticSmoothScrollGesture(params)); GetWidgetHost()->QueueSyntheticGesture( - gesture.Pass(), + std::move(gesture), base::Bind(&TouchActionBrowserTest::OnSyntheticGestureCompleted, base::Unretained(this))); -- cgit v1.1