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

Unified Diff: content/child/web_gesture_curve_impl_unittest.cc

Issue 764403002: Expand UMA coverage for compositor-handled events and fling FPS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build Created 6 years 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/child/web_gesture_curve_impl_unittest.cc
diff --git a/content/child/web_gesture_curve_impl_unittest.cc b/content/child/web_gesture_curve_impl_unittest.cc
index 787aa8f1145a570148fdee52b9623e26c1ed8fd7..aaf7082f5500f1be69e3ac617c8c73084ba1ac58 100644
--- a/content/child/web_gesture_curve_impl_unittest.cc
+++ b/content/child/web_gesture_curve_impl_unittest.cc
@@ -42,7 +42,7 @@ TEST(WebGestureCurveImplTest, Basic) {
gfx::Vector2dF velocity(5000, 0);
gfx::Vector2dF offset;
base::TimeTicks time;
- auto curve = WebGestureCurveImpl::CreateFrom(
+ auto curve = WebGestureCurveImpl::CreateFromUICurveForTesting(
scoped_ptr<ui::GestureCurve>(new ui::FlingCurve(velocity, time)), offset);
// coded into the create call above.

Powered by Google App Engine
This is Rietveld 408576698