Index: 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 797d3a9cecbc1d4d4c529347bac8db9fcbb643f0..a4f59cd637e831b99236f43fb20b77bbd48e9b4e 100644 |
--- a/content/browser/renderer_host/input/touch_action_browsertest.cc |
+++ b/content/browser/renderer_host/input/touch_action_browsertest.cc |
@@ -138,9 +138,9 @@ class TouchActionBrowserTest : public ContentBrowserTest { |
scoped_ptr<SyntheticSmoothScrollGesture> gesture( |
new SyntheticSmoothScrollGesture(params)); |
GetWidgetHost()->QueueSyntheticGesture( |
- gesture.PassAs<SyntheticGesture>(), |
+ gesture.Pass(), |
base::Bind(&TouchActionBrowserTest::OnSyntheticGestureCompleted, |
- base::Unretained(this))); |
+ base::Unretained(this))); |
// Runs until we get the OnSyntheticGestureCompleted callback |
runner_->Run(); |