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

Unified Diff: third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc

Issue 2828913003: Replace "nested message loop" with "nested run loop" in comments. (Closed)
Patch Set: rebase 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/task_queue_manager.cc
diff --git a/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc b/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc
index 7a2a92ba51c472d9280ae27fd3d37ef37fe01446..f79c1c4b406919e13bfffe4bd40ba1f5c47a4a97 100644
--- a/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc
+++ b/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc
@@ -173,7 +173,7 @@ void TaskQueueManager::WakeUpReadyDelayedQueues(LazyNow* lazy_now) {
}
void TaskQueueManager::OnBeginNestedRunLoop() {
- // We just entered a nested message loop, make sure there's a DoWork posted or
+ // We just entered a nested run loop, make sure there's a DoWork posted or
// the system will grind to a halt.
{
base::AutoLock lock(any_thread_lock_);
@@ -181,7 +181,7 @@ void TaskQueueManager::OnBeginNestedRunLoop() {
any_thread().is_nested = true;
}
- // When a nested message loop starts, task time observers may want to ignore
+ // When a nested run loop starts, task time observers may want to ignore
// the current task.
for (auto& observer : task_time_observers_)
observer.OnBeginNestedRunLoop();
@@ -288,7 +288,7 @@ void TaskQueueManager::DoWork(bool delayed) {
queues_to_delete_.clear();
// This must be done before running any tasks because they could invoke a
- // nested message loop and we risk having a stale |next_delayed_do_work_|.
+ // nested run loop and we risk having a stale |next_delayed_do_work_|.
if (delayed)
next_delayed_do_work_.Clear();

Powered by Google App Engine
This is Rietveld 408576698