| Index: ui/compositor/compositing_recorder.h
|
| diff --git a/ui/compositor/compositing_recorder.h b/ui/compositor/compositing_recorder.h
|
| index e50f6927575975815cf087eec6abefce8d805f7d..3a49ab36aea5b461e4b60ff19da41eaa50b0f034 100644
|
| --- a/ui/compositor/compositing_recorder.h
|
| +++ b/ui/compositor/compositing_recorder.h
|
| @@ -26,10 +26,15 @@ 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. |lcd_text_requires_opaque_layer| should
|
| + // normally be true; if this is false, Skia will respect text rendering
|
| + // requests for LCD AA even if they occur on non-opaque layers. This should
|
| + // only be used in cases where the text is known to be rendered opaquely on an
|
| + // opaque background before compositing.
|
| CompositingRecorder(const PaintContext& context,
|
| const gfx::Size& size_in_context,
|
| - uint8_t alpha);
|
| + uint8_t alpha,
|
| + bool lcd_text_requires_opaque_layer);
|
| ~CompositingRecorder();
|
|
|
| private:
|
|
|