| Index: cc/layers/content_layer_client.h
|
| diff --git a/cc/layers/content_layer_client.h b/cc/layers/content_layer_client.h
|
| index 8271cd5e27f1711d2e2e7ba8ee38c2b39d82c7ea..14c276e850a749669986f11a0775f175d7805fcd 100644
|
| --- a/cc/layers/content_layer_client.h
|
| +++ b/cc/layers/content_layer_client.h
|
| @@ -25,12 +25,13 @@ class CC_EXPORT ContentLayerClient {
|
|
|
| virtual void PaintContents(SkCanvas* canvas,
|
| const gfx::Rect& clip,
|
| + bool can_paint_lcd_text,
|
| gfx::RectF* opaque,
|
| GraphicsContextStatus gc_status) = 0;
|
|
|
| - // Called by the content layer during the update phase.
|
| - // If the client paints LCD text, it may want to invalidate the layer.
|
| - virtual void DidChangeLayerCanUseLCDText() = 0;
|
| + // If true the layer may need to invalidate itself when LCD text status
|
| + // changes.
|
| + virtual bool PaintsLCDText() const = 0;
|
|
|
| // If true the layer may skip clearing the background before rasterizing,
|
| // because it will cover any uncleared data with content.
|
|
|