Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2686)

Unified Diff: components/scheduler/renderer/task_cost_estimator_unittest.cc

Issue 1178423008: Provision to start base::SimpleTestTickClock at initial ticks Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/scheduler/renderer/task_cost_estimator_unittest.cc
diff --git a/components/scheduler/renderer/task_cost_estimator_unittest.cc b/components/scheduler/renderer/task_cost_estimator_unittest.cc
index ec6fb1be11d5aaa96143f2156a888a1a83261ffa..1f30c270d171461b18be3fa3bc01bea18dba16f5 100644
--- a/components/scheduler/renderer/task_cost_estimator_unittest.cc
+++ b/components/scheduler/renderer/task_cost_estimator_unittest.cc
@@ -13,7 +13,7 @@ namespace scheduler {
class TaskCostEstimatorTest : public testing::Test {
public:
- TaskCostEstimatorTest() {}
+ TaskCostEstimatorTest() : clock_(base::TimeTicks()) {}
~TaskCostEstimatorTest() override {}
void SetUp() override {

Powered by Google App Engine
This is Rietveld 408576698