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

Unified Diff: third_party/WebKit/Source/platform/scheduler/child/single_thread_idle_task_runner.cc

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) 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/child/single_thread_idle_task_runner.cc
diff --git a/third_party/WebKit/Source/platform/scheduler/child/single_thread_idle_task_runner.cc b/third_party/WebKit/Source/platform/scheduler/child/single_thread_idle_task_runner.cc
index 2ffc75b130d3f254269f93028a262d816d6e0f65..10ca00074247b1e29598eab1c64cc5d412013252 100644
--- a/third_party/WebKit/Source/platform/scheduler/child/single_thread_idle_task_runner.cc
+++ b/third_party/WebKit/Source/platform/scheduler/child/single_thread_idle_task_runner.cc
@@ -40,8 +40,9 @@ void SingleThreadIdleTaskRunner::PostIdleTask(
const IdleTask& idle_task) {
delegate_->OnIdleTaskPosted();
idle_priority_task_runner_->PostTask(
- from_here, base::Bind(&SingleThreadIdleTaskRunner::RunTask,
- weak_scheduler_ptr_, idle_task));
+ from_here,
+ base::Bind(&SingleThreadIdleTaskRunner::RunTask, weak_scheduler_ptr_,
+ idle_task));
}
void SingleThreadIdleTaskRunner::PostDelayedIdleTask(
@@ -51,8 +52,9 @@ void SingleThreadIdleTaskRunner::PostDelayedIdleTask(
base::TimeTicks first_run_time = delegate_->NowTicks() + delay;
delayed_idle_tasks_.insert(std::make_pair(
first_run_time,
- std::make_pair(from_here, base::Bind(&SingleThreadIdleTaskRunner::RunTask,
- weak_scheduler_ptr_, idle_task))));
+ std::make_pair(from_here,
+ base::Bind(&SingleThreadIdleTaskRunner::RunTask,
+ weak_scheduler_ptr_, idle_task))));
}
void SingleThreadIdleTaskRunner::PostNonNestableIdleTask(
@@ -60,8 +62,9 @@ void SingleThreadIdleTaskRunner::PostNonNestableIdleTask(
const IdleTask& idle_task) {
delegate_->OnIdleTaskPosted();
idle_priority_task_runner_->PostNonNestableTask(
- from_here, base::Bind(&SingleThreadIdleTaskRunner::RunTask,
- weak_scheduler_ptr_, idle_task));
+ from_here,
+ base::Bind(&SingleThreadIdleTaskRunner::RunTask, weak_scheduler_ptr_,
+ idle_task));
}
void SingleThreadIdleTaskRunner::EnqueueReadyDelayedIdleTasks() {

Powered by Google App Engine
This is Rietveld 408576698