Index: cc/resources/content_layer_updater.h |
diff --git a/cc/resources/content_layer_updater.h b/cc/resources/content_layer_updater.h |
index 7dfcb6a794fc4360403fb0fa65e53ce8338a1c2a..a5ba21dc5d800bdf7644b23c88f7a8d66dd7ef67 100644 |
--- a/cc/resources/content_layer_updater.h |
+++ b/cc/resources/content_layer_updater.h |
@@ -13,7 +13,7 @@ class SkCanvas; |
namespace cc { |
-class LayerPainter; |
+class ContentLayerPainter; |
class RenderingStatsInstrumentation; |
// Base class for BitmapContentLayerUpdater and |
@@ -24,9 +24,10 @@ class CC_EXPORT ContentLayerUpdater : public LayerUpdater { |
void set_rendering_stats_instrumentation(RenderingStatsInstrumentation* rsi); |
virtual void SetOpaque(bool opaque) OVERRIDE; |
virtual void SetFillsBoundsCompletely(bool fills_bounds) OVERRIDE; |
+ void set_can_use_lcd_text(bool can_use) { can_use_lcd_text_ = can_use; } |
protected: |
- ContentLayerUpdater(scoped_ptr<LayerPainter> painter, |
+ ContentLayerUpdater(scoped_ptr<ContentLayerPainter> painter, |
RenderingStatsInstrumentation* stats_instrumentation, |
int layer_id); |
virtual ~ContentLayerUpdater(); |
@@ -53,7 +54,8 @@ class CC_EXPORT ContentLayerUpdater : public LayerUpdater { |
private: |
gfx::Rect content_rect_; |
- scoped_ptr<LayerPainter> painter_; |
+ scoped_ptr<ContentLayerPainter> painter_; |
+ bool can_use_lcd_text_; |
DISALLOW_COPY_AND_ASSIGN(ContentLayerUpdater); |
}; |