| Index: ui/gfx/canvas.h
|
| diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h
|
| index 4fcb4bcfbdfe563610198d12239de0f6e12ec6e4..d4ff14e2f18c80a058e6da9067420b47b58d5cc3 100644
|
| --- a/ui/gfx/canvas.h
|
| +++ b/ui/gfx/canvas.h
|
| @@ -192,6 +192,10 @@ class GFX_EXPORT Canvas {
|
| void SaveLayerAlpha(uint8_t alpha);
|
| void SaveLayerAlpha(uint8_t alpha, const Rect& layer_bounds);
|
|
|
| + // Like SaveLayerAlpha but draws the layer with an arbitrary set of
|
| + // PaintFlags once Restore() is called.
|
| + void SaveLayerWithFlags(const cc::PaintFlags& flags);
|
| +
|
| // Restores the drawing state after a call to Save*(). It is an error to
|
| // call Restore() more times than Save*().
|
| void Restore();
|
|
|