Index: ui/chromeos/touch_exploration_controller_unittest.cc |
diff --git a/ui/chromeos/touch_exploration_controller_unittest.cc b/ui/chromeos/touch_exploration_controller_unittest.cc |
index 556b618959dea5c50d4548199ead2d8e9c04e0e8..71e51cb5573c6875700ca679d9293b85037d4de3 100644 |
--- a/ui/chromeos/touch_exploration_controller_unittest.cc |
+++ b/ui/chromeos/touch_exploration_controller_unittest.cc |
@@ -192,10 +192,10 @@ class TouchExplorationControllerTestApi { |
class TouchExplorationTest : public aura::test::AuraTestBase { |
public: |
- TouchExplorationTest() : simulated_clock_(new base::SimpleTestTickClock()) { |
- // Tests fail if time is ever 0. |
- simulated_clock_->Advance(base::TimeDelta::FromMilliseconds(10)); |
- } |
+ TouchExplorationTest() |
+ : // Tests fail if time is ever 0. |
+ simulated_clock_(new base::SimpleTestTickClock( |
+ base::TimeTicks() + base::TimeDelta::FromMilliseconds(10))) {} |
~TouchExplorationTest() override {} |
void SetUp() override { |