Index: cc/layers/layer.h |
diff --git a/cc/layers/layer.h b/cc/layers/layer.h |
index 8eb7c3d02509d84418e8525498e37f8c44c0c594..873f360a238c3944d4c2f3a67c025125fc2063ce 100644 |
--- a/cc/layers/layer.h |
+++ b/cc/layers/layer.h |
@@ -242,6 +242,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>, |
bool screen_space_opacity_is_animating() const { |
return draw_properties_.screen_space_opacity_is_animating; |
} |
+ bool can_use_lcd_text() const { return draw_properties_.can_use_lcd_text; } |
bool is_clipped() const { return draw_properties_.is_clipped; } |
gfx::Rect clip_rect() const { return draw_properties_.clip_rect; } |
gfx::Rect drawable_content_rect() const { |
@@ -456,6 +457,8 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>, |
float raster_scale() const { return raster_scale_; } |
bool raster_scale_is_unknown() const { return raster_scale_ == 0.f; } |
+ virtual bool SupportsLCDText() const; |
+ |
void SetNeedsPushProperties(); |
bool needs_push_properties() const { return needs_push_properties_; } |
bool descendant_needs_push_properties() const { |