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

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

Issue 2538833005: [scheduler] Add options to TaskQueue::InsertFence (Closed)
Patch Set: Created 4 years 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 e2b62f7421cca1c78250dd195c5f6dd65fa93aab..2d35e4c75052d157fa3598636955f02f373a1779 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;
@@ -196,6 +196,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