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

Unified Diff: third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.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/base/queueing_time_estimator.cc
diff --git a/third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc b/third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc
index 4ec835b55cf85d874b5db7d07b76c75c70d3c207..526122d9247987f2d0df414375eaef2bd9b98948 100644
--- a/third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc
+++ b/third_party/WebKit/Source/platform/scheduler/base/queueing_time_estimator.cc
@@ -77,8 +77,8 @@ void QueueingTimeEstimator::OnTopLevelTaskCompleted(
state_.OnTopLevelTaskCompleted(client_, task_end_time);
}
-void QueueingTimeEstimator::OnBeginNestedMessageLoop() {
- state_.OnBeginNestedMessageLoop();
+void QueueingTimeEstimator::OnBeginNestedRunLoop() {
+ state_.OnBeginNestedRunLoop();
}
void QueueingTimeEstimator::State::OnTopLevelTaskStarted(
@@ -124,7 +124,7 @@ void QueueingTimeEstimator::State::OnTopLevelTaskCompleted(
current_task_start_time = base::TimeTicks();
}
-void QueueingTimeEstimator::State::OnBeginNestedMessageLoop() {
+void QueueingTimeEstimator::State::OnBeginNestedRunLoop() {
in_nested_message_loop_ = true;
}

Powered by Google App Engine
This is Rietveld 408576698