diff options
Diffstat (limited to 'cc/resources/prioritized_resource.cc')
-rw-r--r-- | cc/resources/prioritized_resource.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cc/resources/prioritized_resource.cc b/cc/resources/prioritized_resource.cc index fdc20c3..f5ebf94 100644 --- a/cc/resources/prioritized_resource.cc +++ b/cc/resources/prioritized_resource.cc @@ -165,8 +165,7 @@ bool PrioritizedResource::Backing::CanBeRecycled() const { } void PrioritizedResource::Backing::UpdatePriority() { - DCHECK(!proxy() || - (proxy()->IsImplThread() && proxy()->IsMainThreadBlocked())); + DCHECK(!proxy() || proxy()->IsImplThread() && proxy()->IsMainThreadBlocked()); if (owner_) { priority_at_last_priority_update_ = owner_->request_priority(); was_above_priority_cutoff_at_last_priority_update_ = @@ -178,8 +177,7 @@ void PrioritizedResource::Backing::UpdatePriority() { } void PrioritizedResource::Backing::UpdateInDrawingImplTree() { - DCHECK(!proxy() || - (proxy()->IsImplThread() && proxy()->IsMainThreadBlocked())); + DCHECK(!proxy() || proxy()->IsImplThread() && proxy()->IsMainThreadBlocked()); in_drawing_impl_tree_ = !!owner(); if (!in_drawing_impl_tree_) { DCHECK_EQ(priority_at_last_priority_update_, |