Index: cc/resources/picture_pile_impl.cc |
diff --git a/cc/resources/picture_pile_impl.cc b/cc/resources/picture_pile_impl.cc |
index 7ec925212731938dfe0741999e244628226adc0d..ab211211b3f54d9bd6cb50c0846582939f76458b 100644 |
--- a/cc/resources/picture_pile_impl.cc |
+++ b/cc/resources/picture_pile_impl.cc |
@@ -29,6 +29,7 @@ PicturePileImpl::PicturePileImpl() |
: background_color_(SK_ColorTRANSPARENT), |
contents_opaque_(false), |
contents_fill_bounds_completely_(false), |
+ can_use_lcd_text_(false), |
is_solid_color_(false), |
solid_color_(SK_ColorTRANSPARENT), |
has_any_recordings_(false), |
@@ -45,6 +46,7 @@ PicturePileImpl::PicturePileImpl(const PicturePile* other) |
background_color_(other->background_color_), |
contents_opaque_(other->contents_opaque_), |
contents_fill_bounds_completely_(other->contents_fill_bounds_completely_), |
+ can_use_lcd_text_(other->can_use_lcd_text_), |
is_solid_color_(other->is_solid_color_), |
solid_color_(other->solid_color_), |
recorded_viewport_(other->recorded_viewport_), |
@@ -427,6 +429,10 @@ bool PicturePileImpl::IsMask() const { |
return is_mask_; |
} |
+bool PicturePileImpl::CanUseLcdText() const { |
+ return can_use_lcd_text_; |
+} |
+ |
PicturePileImpl::PixelRefIterator::PixelRefIterator( |
const gfx::Rect& content_rect, |
float contents_scale, |