| Index: cc/resources/picture_pile_impl.cc
|
| diff --git a/cc/resources/picture_pile_impl.cc b/cc/resources/picture_pile_impl.cc
|
| index 741653854c2a83d20a2c7ce64b6037c8be9f0270..2655d24bb7c034104e04b38705d8ff1b9bbef5ce 100644
|
| --- a/cc/resources/picture_pile_impl.cc
|
| +++ b/cc/resources/picture_pile_impl.cc
|
| @@ -38,6 +38,7 @@ scoped_refptr<PicturePileImpl> PicturePileImpl::CreateFromPicturePile(
|
| PicturePileImpl::PicturePileImpl()
|
| : background_color_(SK_ColorTRANSPARENT),
|
| requires_clear_(true),
|
| + can_use_lcd_text_(false),
|
| is_solid_color_(false),
|
| solid_color_(SK_ColorTRANSPARENT),
|
| has_any_recordings_(false),
|
| @@ -52,6 +53,7 @@ PicturePileImpl::PicturePileImpl(const PicturePile* other)
|
| tiling_(other->tiling_),
|
| background_color_(SK_ColorTRANSPARENT),
|
| requires_clear_(true),
|
| + 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_),
|
| @@ -437,6 +439,10 @@ void PicturePileImpl::AsValueInto(base::debug::TracedValue* pictures) const {
|
| }
|
| }
|
|
|
| +bool PicturePileImpl::CanUseLCDText() const {
|
| + return can_use_lcd_text_;
|
| +}
|
| +
|
| PicturePileImpl::PixelRefIterator::PixelRefIterator(
|
| const gfx::Rect& content_rect,
|
| float contents_scale,
|
|
|