Index: ui/compositor/compositing_recorder.h |
diff --git a/ui/compositor/compositing_recorder.h b/ui/compositor/compositing_recorder.h |
index e50f6927575975815cf087eec6abefce8d805f7d..83528cb76dfd6700223a87bb2e74e5e3137cfc1b 100644 |
--- a/ui/compositor/compositing_recorder.h |
+++ b/ui/compositor/compositing_recorder.h |
@@ -26,10 +26,13 @@ class COMPOSITOR_EXPORT CompositingRecorder { |
public: |
// |alpha| is a value between 0 and 255, where 0 is transparent and 255 is |
// opaque. |size_in_context| is the size in the |context|'s space surrounding |
- // everything that's visible. |
+ // everything that's visible. |allow_lcd_text| can be set to true to allow |
+ // the underlying Skia layer to use LCD AA for text rendering, if you know the |
+ // text is being drawn opaquely on an opaque background before compositing. |
CompositingRecorder(const PaintContext& context, |
const gfx::Size& size_in_context, |
- uint8_t alpha); |
+ uint8_t alpha, |
+ bool allow_lcd_text); |
danakj
2015/12/11 19:07:00
same comment about the name here
|
~CompositingRecorder(); |
private: |