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

Unified Diff: ui/compositor/layer.h

Issue 315393002: Record SkPicture with correct LCD text setting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updated unittests 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: ui/compositor/layer.h
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h
index 2b0d9138361dd46eabb0dbe199716c63c2256f3e..bc0328694143df3e1baa5cdda0a1374acc9aefa0 100644
--- a/ui/compositor/layer.h
+++ b/ui/compositor/layer.h
@@ -300,9 +300,10 @@ class COMPOSITOR_EXPORT Layer
virtual void PaintContents(
SkCanvas* canvas,
const gfx::Rect& clip,
+ bool can_paint_lcd_text,
gfx::RectF* opaque,
ContentLayerClient::GraphicsContextStatus gc_status) OVERRIDE;
- virtual void DidChangeLayerCanUseLCDText() OVERRIDE {}
+ virtual bool PaintsLCDText() const OVERRIDE;
virtual bool FillsBoundsCompletely() const OVERRIDE;
cc::Layer* cc_layer() { return cc_layer_; }

Powered by Google App Engine
This is Rietveld 408576698