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

Unified Diff: cc/resources/picture_layer_tiling.cc

Issue 230983004: cc: Fix TilePriority::IsHigherPriorityThan to be correct. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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/cc_tests.gyp ('k') | cc/resources/tile_priority.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/picture_layer_tiling.cc
diff --git a/cc/resources/picture_layer_tiling.cc b/cc/resources/picture_layer_tiling.cc
index 5fa9d0523b07c6b62e0ba403badec1092c319a97..955c097e424b228e29a25e842bc834c7ea4f0532 100644
--- a/cc/resources/picture_layer_tiling.cc
+++ b/cc/resources/picture_layer_tiling.cc
@@ -33,7 +33,7 @@ class TileEvictionOrder {
a->required_for_activation() != b->required_for_activation()) {
return b->required_for_activation();
}
- return a_priority.IsHigherPriorityThan(b_priority);
+ return b_priority.IsHigherPriorityThan(a_priority);
}
private:
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/resources/tile_priority.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698