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

Unified Diff: cc/resources/picture_pile_impl.cc

Issue 13859012: cc: Remove cheapness estimator usage from tile manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove is_cheap_to_raster from PicturePileImpl::Analysis Created 7 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
Index: cc/resources/picture_pile_impl.cc
diff --git a/cc/resources/picture_pile_impl.cc b/cc/resources/picture_pile_impl.cc
index 7db0ecfccfe79224a740f58148ce791300ca35c7..865e878ac75a1d1894775a3435937c69bd6164ff 100644
--- a/cc/resources/picture_pile_impl.cc
+++ b/cc/resources/picture_pile_impl.cc
@@ -263,7 +263,6 @@ void PicturePileImpl::AnalyzeInRect(gfx::Rect content_rect,
analysis->is_transparent = canvas.isTransparent();
analysis->is_solid_color = canvas.getColorIfSolid(&analysis->solid_color);
- analysis->is_cheap_to_raster = canvas.isCheap();
analysis->has_text = canvas.hasText();
canvas.consumeLazyPixelRefs(&analysis->lazy_pixel_refs);
}
@@ -271,8 +270,7 @@ void PicturePileImpl::AnalyzeInRect(gfx::Rect content_rect,
PicturePileImpl::Analysis::Analysis()
: is_solid_color(false),
is_transparent(false),
- has_text(false),
- is_cheap_to_raster(false) {
+ has_text(false) {
}
PicturePileImpl::Analysis::~Analysis() {

Powered by Google App Engine
This is Rietveld 408576698