Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(501)

Unified Diff: content/browser/renderer_host/input/touch_action_browsertest.cc

Issue 655133002: Use scoped_ptr::Pass instead of scoped_ptr::PassAs<T>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698