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

Unified Diff: ui/events/gestures/fling_curve_unittest.cc

Issue 1143433005: Remove gfx::FrameTime for a single clock source (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Handling patch for mac files Created 5 years, 7 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: ui/events/gestures/fling_curve_unittest.cc
diff --git a/ui/events/gestures/fling_curve_unittest.cc b/ui/events/gestures/fling_curve_unittest.cc
index d6dffef9d6c80d7c7c70d5ee844db1ab15bc7b86..540dc633a1d4eac91199b799e84bb7063fd96fbc 100644
--- a/ui/events/gestures/fling_curve_unittest.cc
+++ b/ui/events/gestures/fling_curve_unittest.cc
@@ -5,13 +5,12 @@
#include "ui/events/gestures/fling_curve.h"
#include "testing/gtest/include/gtest/gtest.h"
-#include "ui/gfx/frame_time.h"
namespace ui {
TEST(FlingCurveTest, Basic) {
const gfx::Vector2dF velocity(0, 5000);
- base::TimeTicks now = gfx::FrameTime::Now();
+ base::TimeTicks now = base::TimeTicks::Now();
FlingCurve curve(velocity, now);
gfx::Vector2dF delta;

Powered by Google App Engine
This is Rietveld 408576698