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

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

Issue 2940933003: DO NOT SUBMIT results of new clang-format (Closed)
Patch Set: Created 3 years, 6 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/work_queue_sets.cc
diff --git a/third_party/WebKit/Source/platform/scheduler/base/work_queue_sets.cc b/third_party/WebKit/Source/platform/scheduler/base/work_queue_sets.cc
index 89563d67e6e79496d717f4948105527bb0172296..ff42535bb079c84ea78edc5d9dca843a1d5bd547 100644
--- a/third_party/WebKit/Source/platform/scheduler/base/work_queue_sets.cc
+++ b/third_party/WebKit/Source/platform/scheduler/base/work_queue_sets.cc
@@ -61,8 +61,8 @@ void WorkQueueSets::OnTaskPushedToEmptyQueue(WorkQueue* work_queue) {
bool has_enqueue_order = work_queue->GetFrontTaskEnqueueOrder(&enqueue_order);
DCHECK(has_enqueue_order);
size_t set_index = work_queue->work_queue_set_index();
- DCHECK_LT(set_index, work_queue_heaps_.size()) << " set_index = "
- << set_index;
+ DCHECK_LT(set_index, work_queue_heaps_.size())
+ << " set_index = " << set_index;
// |work_queue| should not be in work_queue_heaps_[set_index].
DCHECK(!work_queue->heap_handle().IsValid());
work_queue_heaps_[set_index].insert({enqueue_order, work_queue});
@@ -125,8 +125,8 @@ bool WorkQueueSets::GetOldestQueueAndEnqueueOrderInSet(
}
bool WorkQueueSets::IsSetEmpty(size_t set_index) const {
- DCHECK_LT(set_index, work_queue_heaps_.size()) << " set_index = "
- << set_index;
+ DCHECK_LT(set_index, work_queue_heaps_.size())
+ << " set_index = " << set_index;
return work_queue_heaps_[set_index].empty();
}

Powered by Google App Engine
This is Rietveld 408576698