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

Unified Diff: cc/resources/picture.h

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.h
diff --git a/cc/resources/picture.h b/cc/resources/picture.h
index 78833d17e9144c0721ec888d216af7e94577d2cb..46e1c52f7e88e164852341b3edb29a780342cea2 100644
--- a/cc/resources/picture.h
+++ b/cc/resources/picture.h
@@ -59,6 +59,7 @@ class CC_EXPORT Picture
ContentLayerClient* client,
const SkTileGridFactory::TileGridInfo& tile_grid_info,
bool gather_pixels_refs,
+ bool can_use_lcd_text,
int num_raster_threads,
RecordingMode recording_mode);
static scoped_refptr<Picture> CreateFromValue(const base::Value* value);
@@ -152,6 +153,7 @@ class CC_EXPORT Picture
// playback on a different thread this can only be called once.
void Record(ContentLayerClient* client,
const SkTileGridFactory::TileGridInfo& tile_grid_info,
+ bool can_use_lcd_text,
RecordingMode recording_mode);
// Gather pixel refs from recording.

Powered by Google App Engine
This is Rietveld 408576698