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

Unified Diff: components/scheduler/base/test_time_source.cc

Issue 1432263002: (reland) Adds TimeDomains to the TaskQueueManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix thread_hop_task DCHECK Created 5 years, 1 month 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
« no previous file with comments | « components/scheduler/base/task_queue_sets_unittest.cc ('k') | components/scheduler/base/time_domain.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/scheduler/base/test_time_source.cc
diff --git a/components/scheduler/base/test_time_source.cc b/components/scheduler/base/test_time_source.cc
index 7c620ad6789152d8932a868ff9fe4cd0a647e668..6bbe83ba2a94dc8bf83311c3c005e3733c5600a5 100644
--- a/components/scheduler/base/test_time_source.cc
+++ b/components/scheduler/base/test_time_source.cc
@@ -7,7 +7,9 @@
namespace scheduler {
TestTimeSource::TestTimeSource(base::SimpleTestTickClock* time_source)
- : time_source_(time_source) {}
+ : time_source_(time_source) {
+ DCHECK(time_source_);
+}
TestTimeSource::~TestTimeSource() {}
« no previous file with comments | « components/scheduler/base/task_queue_sets_unittest.cc ('k') | components/scheduler/base/time_domain.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698