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

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: Try to fix test bug 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
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() {}

Powered by Google App Engine
This is Rietveld 408576698