Index: content/browser/web_contents/web_contents_view_aura_browsertest.cc |
diff --git a/content/browser/web_contents/web_contents_view_aura_browsertest.cc b/content/browser/web_contents/web_contents_view_aura_browsertest.cc |
index a06161ba28449e11acec42abe9d43cbc70545979..247b7bc06ca84a4347df3a23082169145ebb002f 100644 |
--- a/content/browser/web_contents/web_contents_view_aura_browsertest.cc |
+++ b/content/browser/web_contents/web_contents_view_aura_browsertest.cc |
@@ -499,7 +499,7 @@ IN_PROC_BROWSER_TEST_F(WebContentsViewAuraTest, |
ui::EventProcessor* dispatcher = content->GetHost()->event_processor(); |
gfx::Rect bounds = content->GetBoundsInRootWindow(); |
- base::TimeDelta timestamp = ui::EventTimeForNow(); |
+ base::TimeTicks timestamp = ui::EventTimeForNow(); |
ui::TouchEvent press( |
ui::ET_TOUCH_PRESSED, |
gfx::Point(bounds.x() + bounds.width() / 2, bounds.y() + 5), 0, |
@@ -1032,7 +1032,7 @@ IN_PROC_BROWSER_TEST_F(WebContentsViewAuraTest, MAYBE_VerticalOverscroll) { |
{ |
int kXStep = bounds.width() / 10; |
gfx::Point location(bounds.right() - kXStep, bounds.y() + 5); |
- base::TimeDelta timestamp = ui::EventTimeForNow(); |
+ base::TimeTicks timestamp = ui::EventTimeForNow(); |
ui::TouchEvent press(ui::ET_TOUCH_PRESSED, location, 0, timestamp); |
ui::EventDispatchDetails details = dispatcher->OnEventFromSource(&press); |
ASSERT_FALSE(details.dispatcher_destroyed); |
@@ -1064,7 +1064,7 @@ IN_PROC_BROWSER_TEST_F(WebContentsViewAuraTest, MAYBE_VerticalOverscroll) { |
int kYStep = bounds.height() / 10; |
gfx::Point location(bounds.x() + 10, bounds.y() + kYStep); |
- base::TimeDelta timestamp = ui::EventTimeForNow(); |
+ base::TimeTicks timestamp = ui::EventTimeForNow(); |
ui::TouchEvent press(ui::ET_TOUCH_PRESSED, location, 0, timestamp); |
ui::EventDispatchDetails details = dispatcher->OnEventFromSource(&press); |
ASSERT_FALSE(details.dispatcher_destroyed); |
@@ -1098,7 +1098,7 @@ IN_PROC_BROWSER_TEST_F(WebContentsViewAuraTest, MAYBE_VerticalOverscroll) { |
int kXStep = bounds.width() / 10; |
int kYStep = bounds.height() / 10; |
gfx::Point location = bounds.origin() + gfx::Vector2d(0, kYStep); |
- base::TimeDelta timestamp = ui::EventTimeForNow(); |
+ base::TimeTicks timestamp = ui::EventTimeForNow(); |
ui::TouchEvent press(ui::ET_TOUCH_PRESSED, location, 0, timestamp); |
ui::EventDispatchDetails details = dispatcher->OnEventFromSource(&press); |
ASSERT_FALSE(details.dispatcher_destroyed); |