Index: cc/trees/layer_tree_host_unittest_context.cc |
diff --git a/cc/trees/layer_tree_host_unittest_context.cc b/cc/trees/layer_tree_host_unittest_context.cc |
index fbac911c8e6e96a6456e2f54ae00e2bc522faca1..c1436e5368208f84ce8d2c4e69e52d5ba085c3b7 100644 |
--- a/cc/trees/layer_tree_host_unittest_context.cc |
+++ b/cc/trees/layer_tree_host_unittest_context.cc |
@@ -393,8 +393,8 @@ |
} |
void BeginTest() override { |
- layer_tree_host()->Composite(base::TimeTicks::FromInternalValue(1)); |
- layer_tree_host()->Composite(base::TimeTicks::FromInternalValue(2)); |
+ layer_tree_host()->Composite(base::TimeTicks()); |
+ layer_tree_host()->Composite(base::TimeTicks()); |
} |
scoped_ptr<OutputSurface> CreateOutputSurface() override { |
@@ -439,12 +439,12 @@ |
void BeginTest() override { |
// First composite tries to create a surface. |
- layer_tree_host()->Composite(base::TimeTicks::FromInternalValue(1)); |
+ layer_tree_host()->Composite(base::TimeTicks()); |
EXPECT_EQ(num_requests_, 2); |
EXPECT_TRUE(has_failed_); |
// Second composite should not request or fail. |
- layer_tree_host()->Composite(base::TimeTicks::FromInternalValue(2)); |
+ layer_tree_host()->Composite(base::TimeTicks()); |
EXPECT_EQ(num_requests_, 2); |
EndTest(); |
} |
@@ -489,9 +489,7 @@ |
LayerTreeHostContextTest::CreateOutputSurface()); |
} |
- void BeginTest() override { |
- layer_tree_host()->Composite(base::TimeTicks::FromInternalValue(1)); |
- } |
+ void BeginTest() override { layer_tree_host()->Composite(base::TimeTicks()); } |
void ScheduleComposite() override { |
if (creating_output_) |
@@ -524,7 +522,7 @@ |
void BeginTest() override { |
in_composite_ = true; |
- layer_tree_host()->Composite(base::TimeTicks::FromInternalValue(1)); |
+ layer_tree_host()->Composite(base::TimeTicks()); |
in_composite_ = false; |
} |