Index: cc/layers/content_layer_client.h |
diff --git a/cc/layers/content_layer_client.h b/cc/layers/content_layer_client.h |
index 0140513cbb866ad5c37b121057839aa9199ad32d..d8c2a33d59924e574ec58bb5eb8381e1edeb6387 100644 |
--- a/cc/layers/content_layer_client.h |
+++ b/cc/layers/content_layer_client.h |
@@ -23,14 +23,14 @@ class CC_EXPORT ContentLayerClient { |
GRAPHICS_CONTEXT_ENABLED |
}; |
+ // Called during the update phase before PaintContents. If the client paints |
+ // LCD text, it may want to invalidate the layer. |
+ virtual void DidChangeLayerCanUseLcdText() {} |
+ |
virtual void PaintContents(SkCanvas* canvas, |
const gfx::Rect& clip, |
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 skip clearing the background before rasterizing, |
// because it will cover any uncleared data with content. |
virtual bool FillsBoundsCompletely() const = 0; |