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

Unified Diff: third_party/WebKit/Source/platform/scheduler/base/time_domain.h

Issue 2915993003: Revert of [scheduler] Change TaskQueue observer call mechanism. (Closed)
Patch Set: Created 3 years, 7 months 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: third_party/WebKit/Source/platform/scheduler/base/time_domain.h
diff --git a/third_party/WebKit/Source/platform/scheduler/base/time_domain.h b/third_party/WebKit/Source/platform/scheduler/base/time_domain.h
index 19cec2d5504b9c73c3342c7a339f6730713e3a75..6f1abcf09a6f498ebd420b40ddf0fb2ff48c6158 100644
--- a/third_party/WebKit/Source/platform/scheduler/base/time_domain.h
+++ b/third_party/WebKit/Source/platform/scheduler/base/time_domain.h
@@ -135,8 +135,8 @@
DCHECK(queue->heap_handle().IsValid());
queue->set_heap_handle(HeapHandle());
- DCHECK(queue->scheduled_time_domain_wake_up());
- queue->SetScheduledTimeDomainWakeUp(base::nullopt);
+ DCHECK_NE(queue->scheduled_time_domain_wake_up(), base::TimeTicks());
+ queue->set_scheduled_time_domain_wake_up(base::TimeTicks());
}
};

Powered by Google App Engine
This is Rietveld 408576698