Index: ui/aura/window_unittest.cc |
diff --git a/ui/aura/window_unittest.cc b/ui/aura/window_unittest.cc |
index 3b647b560ef3430e77ab29e01062169e8af0ac5c..b8ec16b0dc4da66987cd80f9804f7e0e53c660a0 100644 |
--- a/ui/aura/window_unittest.cc |
+++ b/ui/aura/window_unittest.cc |
@@ -291,7 +291,7 @@ class GestureTrackPositionDelegate : public TestWindowDelegate { |
DISALLOW_COPY_AND_ASSIGN(GestureTrackPositionDelegate); |
}; |
-base::TimeDelta getTime() { |
+base::TimeTicks getTime() { |
return ui::EventTimeForNow(); |
} |
@@ -935,7 +935,7 @@ TEST_F(WindowTest, TouchCaptureDoesntCancelCapturedTouches) { |
CaptureWindowDelegateImpl delegate; |
std::unique_ptr<Window> window(CreateTestWindowWithDelegate( |
&delegate, 0, gfx::Rect(0, 0, 50, 50), root_window())); |
- base::TimeDelta time = getTime(); |
+ base::TimeTicks time = getTime(); |
const int kTimeDelta = 100; |
ui::TouchEvent press( |