summaryrefslogtreecommitdiffstats
path: root/cc/resources/prioritized_resource.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/resources/prioritized_resource.cc')
-rw-r--r--cc/resources/prioritized_resource.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/cc/resources/prioritized_resource.cc b/cc/resources/prioritized_resource.cc
index f5ebf94..fdc20c3 100644
--- a/cc/resources/prioritized_resource.cc
+++ b/cc/resources/prioritized_resource.cc
@@ -165,7 +165,8 @@ 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_ =
@@ -177,7 +178,8 @@ 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_,