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

Unified Diff: components/scheduler/base/time_domain_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/base/time_domain_unittest.cc
diff --git a/components/scheduler/base/time_domain_unittest.cc b/components/scheduler/base/time_domain_unittest.cc
index b863dd16bde6a75d478f3610cb16480d9b08f0b5..5102d2c22db5521faa6edde6f9be946ae213feae 100644
--- a/components/scheduler/base/time_domain_unittest.cc
+++ b/components/scheduler/base/time_domain_unittest.cc
@@ -148,7 +148,7 @@ TEST_F(TimeDomainTest, UnregisterQueue) {
TEST_F(TimeDomainTest, UpdateWorkQueues) {
scoped_ptr<MockTimeDomain> dummy_delegate(new MockTimeDomain(nullptr));
- base::SimpleTestTickClock dummy_time_source;
+ base::SimpleTestTickClock dummy_time_source((base::TimeTicks()));
scoped_refptr<cc::OrderedSimpleTaskRunner> dummy_task_runner(
new cc::OrderedSimpleTaskRunner(&dummy_time_source, false));
TaskQueueManager task_queue_manager(
« no previous file with comments | « components/scheduler/base/task_queue_manager_unittest.cc ('k') | components/scheduler/child/idle_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698