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

Unified Diff: cc/resources/picture_pile.cc

Issue 315393002: Record SkPicture with correct LCD text setting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better unittest Created 6 years, 6 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.cc
diff --git a/cc/resources/picture_pile.cc b/cc/resources/picture_pile.cc
index 27c58a1ff44dc109db0e233c259c2612a5e9458d..0a18586d6629830e14c9b9c3055f2e7d48ec2159 100644
--- a/cc/resources/picture_pile.cc
+++ b/cc/resources/picture_pile.cc
@@ -150,6 +150,7 @@ bool PicturePile::Update(ContentLayerClient* painter,
SkColor background_color,
bool contents_opaque,
bool contents_fill_bounds_completely,
+ bool can_use_lcd_text,
const Region& invalidation,
const gfx::Rect& visible_layer_rect,
int frame_number,
@@ -243,6 +244,7 @@ bool PicturePile::Update(ContentLayerClient* painter,
painter,
tile_grid_info_,
gather_pixel_refs,
+ can_use_lcd_text,
num_raster_threads,
recording_mode);
// Note the '&&' with previous is-suitable state.

Powered by Google App Engine
This is Rietveld 408576698