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

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

Issue 2808843003: [scheduler] Change TaskQueue observer call mechanism. (Closed)
Patch Set: Created 3 years, 8 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 82db58b8f2cd520c568fbc6135675fe0d309c1f1..4b000da84e18c41ccc46f8b9e41d55d3cc712c10 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 @@ class BLINK_PLATFORM_EXPORT TimeDomain {
DCHECK(queue->heap_handle().IsValid());
queue->set_heap_handle(HeapHandle());
- DCHECK_NE(queue->scheduled_time_domain_wake_up(), base::TimeTicks());
- queue->set_scheduled_time_domain_wake_up(base::TimeTicks());
+ DCHECK(queue->scheduled_time_domain_wake_up());
+ queue->SetScheduledTimeDomainWakeUp(base::nullopt);
}
};

Powered by Google App Engine
This is Rietveld 408576698