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

Unified Diff: third_party/WebKit/Source/platform/scheduler/renderer/idle_time_estimator.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/renderer/idle_time_estimator.cc
diff --git a/third_party/WebKit/Source/platform/scheduler/renderer/idle_time_estimator.cc b/third_party/WebKit/Source/platform/scheduler/renderer/idle_time_estimator.cc
index b40f8e2a6596f1176f2aac88fee8582d83e79f6f..612ac839072a2952f60689b6fc954c1bd9344eab 100644
--- a/third_party/WebKit/Source/platform/scheduler/renderer/idle_time_estimator.cc
+++ b/third_party/WebKit/Source/platform/scheduler/renderer/idle_time_estimator.cc
@@ -31,8 +31,9 @@ base::TimeDelta IdleTimeEstimator::GetExpectedIdleDuration(
base::TimeDelta compositor_frame_interval) const {
base::TimeDelta expected_compositor_task_runtime_ =
per_frame_compositor_task_runtime_.Percentile(estimation_percentile_);
- return std::max(base::TimeDelta(), compositor_frame_interval -
- expected_compositor_task_runtime_);
+ return std::max(
+ base::TimeDelta(),
+ compositor_frame_interval - expected_compositor_task_runtime_);
}
void IdleTimeEstimator::DidCommitFrameToCompositor() {

Powered by Google App Engine
This is Rietveld 408576698