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

Unified Diff: components/scheduler/base/time_domain.h

Issue 2189573002: Fix TimeDomain::MigrateQueue with incoming immediate tasks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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: components/scheduler/base/time_domain.h
diff --git a/components/scheduler/base/time_domain.h b/components/scheduler/base/time_domain.h
index 5c0ba692b66f0ee9c98d1d1e7b628a11235c9ab5..506f02dbcbbf08f54af8b7458e2d09f58b7df5a6 100644
--- a/components/scheduler/base/time_domain.h
+++ b/components/scheduler/base/time_domain.h
@@ -89,8 +89,8 @@ class SCHEDULER_EXPORT TimeDomain {
void RegisterQueue(internal::TaskQueueImpl* queue);
// Removes |queue| from the set of task queues that UpdateWorkQueues calls
- // UpdateWorkQueue on.
- void UnregisterAsUpdatableTaskQueue(internal::TaskQueueImpl* queue);
+ // UpdateWorkQueue on. Returns true if |queue| was updatable.
+ bool UnregisterAsUpdatableTaskQueue(internal::TaskQueueImpl* queue);
// Removes |queue| from all internal data structures.
void UnregisterQueue(internal::TaskQueueImpl* queue);

Powered by Google App Engine
This is Rietveld 408576698