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

Unified Diff: cc/resources/prioritized_resource.cc

Issue 13206004: cc: Fix build issues for adding ‘chromium_code’: 1 to cc.gyp and cc_tests.gyp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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
« no previous file with comments | « cc/resources/picture_pile.cc ('k') | cc/resources/prioritized_resource_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/prioritized_resource.cc
diff --git a/cc/resources/prioritized_resource.cc b/cc/resources/prioritized_resource.cc
index f5ebf94dd3b6a60b79dbedccc24d8fbbd3dd896c..fdc20c315f78a83679d1cf9eda7c224b21124ff1 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_,
« no previous file with comments | « cc/resources/picture_pile.cc ('k') | cc/resources/prioritized_resource_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698