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

Unified Diff: trunk/src/cc/resources/picture_pile.cc

Issue 13334005: Revert 191400 "cc: Add ‘chromium_code’: 1 to cc.gyp and cc_t..." (Closed) Base URL: svn://svn.chromium.org/chrome/
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 | « trunk/src/cc/resources/picture_layer_tiling_set.cc ('k') | trunk/src/cc/resources/prioritized_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/cc/resources/picture_pile.cc
===================================================================
--- trunk/src/cc/resources/picture_pile.cc (revision 191411)
+++ trunk/src/cc/resources/picture_pile.cc (working copy)
@@ -13,7 +13,7 @@
namespace {
// Maximum number of pictures that can overlap before we collapse them into
// a larger one.
-const size_t kMaxOverlapping = 2;
+const int 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 | « trunk/src/cc/resources/picture_layer_tiling_set.cc ('k') | trunk/src/cc/resources/prioritized_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698