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

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

Issue 2808843003: [scheduler] Change TaskQueue observer call mechanism. (Closed)
Patch Set: Fix compilation 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 6f1abcf09a6f498ebd420b40ddf0fb2ff48c6158..19cec2d5504b9c73c3342c7a339f6730713e3a75 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 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