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

Unified Diff: third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc

Issue 2818533003: Make nesting/running states a RunLoop rather than a MessageLoop concept. (Closed)
Patch Set: still need to check MessageLoop::current() in Mojo's RunLoopNestingObserver::GetForThread() 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/renderer/renderer_scheduler_impl.cc
diff --git a/third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc b/third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc
index f3369ecb1d37ebb10a89938fb290bf28bd1e0067..63b7e8995a66afbedd83261c96e06c9e62256778 100644
--- a/third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc
+++ b/third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc
@@ -1814,9 +1814,9 @@ void RendererSchedulerImpl::DidProcessTask(TaskQueue* task_queue,
static_cast<int>(TaskQueue::QueueType::COUNT));
}
-void RendererSchedulerImpl::OnBeginNestedMessageLoop() {
+void RendererSchedulerImpl::OnBeginNestedRunLoop() {
seqlock_queueing_time_estimator_.seqlock.WriteBegin();
- seqlock_queueing_time_estimator_.data.OnBeginNestedMessageLoop();
+ seqlock_queueing_time_estimator_.data.OnBeginNestedRunLoop();
seqlock_queueing_time_estimator_.seqlock.WriteEnd();
}

Powered by Google App Engine
This is Rietveld 408576698