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

Unified Diff: cc/test/solid_color_content_layer_client.h

Issue 315393002: Record SkPicture with correct LCD text setting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better unittest 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
Index: cc/test/solid_color_content_layer_client.h
diff --git a/cc/test/solid_color_content_layer_client.h b/cc/test/solid_color_content_layer_client.h
index 7c0ce6f2e263544912e33d2dd9f90d1d60215e56..12fc5afea8f7d719baf310accf2f460c5633fe10 100644
--- a/cc/test/solid_color_content_layer_client.h
+++ b/cc/test/solid_color_content_layer_client.h
@@ -16,12 +16,13 @@ class SolidColorContentLayerClient : public ContentLayerClient {
explicit SolidColorContentLayerClient(SkColor color) : color_(color) {}
// ContentLayerClient implementation.
- virtual void DidChangeLayerCanUseLCDText() OVERRIDE {}
virtual void PaintContents(
SkCanvas* canvas,
const gfx::Rect& rect,
+ bool can_paint_lcd_text,
gfx::RectF* opaque_rect,
ContentLayerClient::GraphicsContextStatus gc_status) OVERRIDE;
+ virtual bool PaintsLCDText() const OVERRIDE;
virtual bool FillsBoundsCompletely() const OVERRIDE;
private:

Powered by Google App Engine
This is Rietveld 408576698