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

Unified Diff: cc/layers/picture_layer.h

Issue 315393002: Record SkPicture with correct LCD text setting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re-add PictureLayer changes 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
« no previous file with comments | « no previous file | cc/layers/picture_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_layer.h
diff --git a/cc/layers/picture_layer.h b/cc/layers/picture_layer.h
index 740bd858291fa07eabb970ebc35a346d6cdde95a..406ffad2f1785b5d3e4e7563f27299b63a26fe61 100644
--- a/cc/layers/picture_layer.h
+++ b/cc/layers/picture_layer.h
@@ -49,6 +49,8 @@ class CC_EXPORT PictureLayer : public Layer {
explicit PictureLayer(ContentLayerClient* client);
virtual ~PictureLayer();
+ void UpdateCanUseLCDText();
+
private:
ContentLayerClient* client_;
scoped_refptr<PicturePile> pile_;
@@ -62,6 +64,7 @@ class CC_EXPORT PictureLayer : public Layer {
bool is_mask_;
int update_source_frame_number_;
+ bool can_use_lcd_text_last_frame_;
DISALLOW_COPY_AND_ASSIGN(PictureLayer);
};
« no previous file with comments | « no previous file | cc/layers/picture_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698