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 0c0a360e8e749b78465354bba7cf46651970b2e2..49a8692f110b19421d6a7124564066942c92814e 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, |
@@ -1031,7 +1031,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); |
@@ -1063,7 +1063,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); |
@@ -1097,7 +1097,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); |