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

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

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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_impl.cc
diff --git a/third_party/WebKit/Source/platform/scheduler/base/task_queue_impl.cc b/third_party/WebKit/Source/platform/scheduler/base/task_queue_impl.cc
index 2d1e2957ba8e952bb9ea551885832899c9524103..6398e0df57802158f98caebea38fbef0b915feec 100644
--- a/third_party/WebKit/Source/platform/scheduler/base/task_queue_impl.cc
+++ b/third_party/WebKit/Source/platform/scheduler/base/task_queue_impl.cc
@@ -219,12 +219,9 @@ bool TaskQueueImpl::PostImmediateTaskImpl(
EnqueueOrder sequence_number =
any_thread().task_queue_manager->GetNextSequenceNumber();
- PushOntoImmediateIncomingQueueLocked(
- from_here,
- task,
- base::TimeTicks(),
- sequence_number,
- task_type != TaskType::NON_NESTABLE);
+ PushOntoImmediateIncomingQueueLocked(from_here, task, base::TimeTicks(),
+ sequence_number,
+ task_type != TaskType::NON_NESTABLE);
return true;
}
@@ -270,7 +267,8 @@ bool TaskQueueImpl::PostDelayedTaskImpl(
}
void TaskQueueImpl::PushOntoDelayedIncomingQueueFromMainThread(
- Task pending_task, base::TimeTicks now) {
+ Task pending_task,
+ base::TimeTicks now) {
base::TimeTicks delayed_run_time = pending_task.delayed_run_time;
main_thread_only().task_queue_manager->DidQueueTask(pending_task);
main_thread_only().delayed_incoming_queue.push(std::move(pending_task));
@@ -295,12 +293,9 @@ void TaskQueueImpl::PushOntoDelayedIncomingQueueLocked(Task pending_task) {
int thread_hop_task_sequence_number =
any_thread().task_queue_manager->GetNextSequenceNumber();
PushOntoImmediateIncomingQueueLocked(
- FROM_HERE,
- base::Bind(&TaskQueueImpl::ScheduleDelayedWorkTask, this,
- base::Passed(&pending_task)),
- base::TimeTicks(),
- thread_hop_task_sequence_number,
- false);
+ FROM_HERE, base::Bind(&TaskQueueImpl::ScheduleDelayedWorkTask, this,
+ base::Passed(&pending_task)),
+ base::TimeTicks(), thread_hop_task_sequence_number, false);
}
void TaskQueueImpl::ScheduleDelayedWorkTask(Task pending_task) {

Powered by Google App Engine
This is Rietveld 408576698