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

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

Issue 2533603002: [scheduler] Add options to TaskQueue::InsertFence (Closed)
Patch Set: More nits Created 4 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: third_party/WebKit/Source/platform/scheduler/base/task_queue_impl.h
diff --git a/third_party/WebKit/Source/platform/scheduler/base/task_queue_impl.h b/third_party/WebKit/Source/platform/scheduler/base/task_queue_impl.h
index 0c16a7a95fa6c0bfeefee53eb1749180fa31295b..d4db9b663066386143aba5c31dd3b592a25e567f 100644
--- a/third_party/WebKit/Source/platform/scheduler/base/task_queue_impl.h
+++ b/third_party/WebKit/Source/platform/scheduler/base/task_queue_impl.h
@@ -133,7 +133,7 @@ class BLINK_PLATFORM_EXPORT TaskQueueImpl final : public TaskQueue {
void SetTimeDomain(TimeDomain* time_domain) override;
TimeDomain* GetTimeDomain() const override;
void SetBlameContext(base::trace_event::BlameContext* blame_context) override;
- void InsertFence() override;
+ void InsertFence(InsertFencePosition position) override;
void RemoveFence() override;
bool BlockedByFence() const override;
@@ -193,6 +193,8 @@ class BLINK_PLATFORM_EXPORT TaskQueueImpl final : public TaskQueue {
main_thread_only().heap_handle = heap_handle;
}
+ EnqueueOrder GetFenceForTest() const;
+
private:
friend class WorkQueue;
friend class WorkQueueTest;

Powered by Google App Engine
This is Rietveld 408576698