| Index: ui/aura/window.h
|
| diff --git a/ui/aura/window.h b/ui/aura/window.h
|
| index d0280bf730d6095fe6051222d50eef4140aacdaf..a8163a5d6117d23c5a42f46e5f073ad5ef24e3e5 100644
|
| --- a/ui/aura/window.h
|
| +++ b/ui/aura/window.h
|
| @@ -368,10 +368,10 @@ class AURA_EXPORT Window : public ui::LayerDelegate,
|
|
|
| // Asks the delegate to paint the window and invokes PaintLayerlessChildren()
|
| // to paint any children with no layers.
|
| - void Paint(gfx::Canvas* canvas);
|
| + void Paint(const ui::PaintContext& context);
|
|
|
| // Paints any layerless children to |canvas|.
|
| - void PaintLayerlessChildren(gfx::Canvas* canvas);
|
| + void PaintLayerlessChildren(const ui::PaintContext& context);
|
|
|
| // Gets a Window (either this one or a subwindow) containing |local_point|.
|
| // If |return_tightest| is true, returns the tightest-containing (i.e.
|
| @@ -463,7 +463,7 @@ class AURA_EXPORT Window : public ui::LayerDelegate,
|
| void OnWindowBoundsChanged(const gfx::Rect& old_bounds);
|
|
|
| // Overridden from ui::LayerDelegate:
|
| - void OnPaintLayer(gfx::Canvas* canvas) override;
|
| + void OnPaintLayer(const ui::PaintContext& context) override;
|
| void OnDelegatedFrameDamage(const gfx::Rect& damage_rect_in_dip) override;
|
| base::Closure PrepareForLayerBoundsChange() override;
|
|
|
|
|