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

Unified Diff: cc/resources/picture_pile.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_layer_tiling_set.cc ('k') | cc/resources/prioritized_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/picture_pile.cc
diff --git a/cc/resources/picture_pile.cc b/cc/resources/picture_pile.cc
index 85a2e9b2d7f5ccd87347784490b52d728a4fd11c..a45dd9e71b1fb1f5ff323805b3f0d094fe6e3f1c 100644
--- a/cc/resources/picture_pile.cc
+++ b/cc/resources/picture_pile.cc
@@ -13,7 +13,7 @@
namespace {
// Maximum number of pictures that can overlap before we collapse them into
// a larger one.
-const int kMaxOverlapping = 2;
+const size_t kMaxOverlapping = 2;
// Maximum percentage area of the base picture another picture in the picture
// list can be. If higher, we destroy the list and recreate from scratch.
const float kResetThreshold = 0.7f;
« no previous file with comments | « cc/resources/picture_layer_tiling_set.cc ('k') | cc/resources/prioritized_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698