| Index: ui/views/view.h
|
| diff --git a/ui/views/view.h b/ui/views/view.h
|
| index d1f69707fda4a74ca022439077464b8205df2fb0..6071a361b46e36141fed37275c73e24260f74263 100644
|
| --- a/ui/views/view.h
|
| +++ b/ui/views/view.h
|
| @@ -1304,10 +1304,12 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
|
|
|
| // Returns the offset that should be used when constructing the paint context
|
| // for this view.
|
| - gfx::Vector2d GetPaintContextOffset() const;
|
| + gfx::Vector2d GetPaintContextOffset(const gfx::Rect& pixel_bounds) const;
|
|
|
| // Adjusts the transform of |recorder| in advance of painting.
|
| - void SetupTransformRecorderForPainting(ui::TransformRecorder* recorder) const;
|
| + void SetupTransformRecorderForPainting(
|
| + ui::TransformRecorder* recorder,
|
| + gfx::Vector2d offset_from_parent) const;
|
|
|
| // Recursively calls the painting method |func| on all non-layered children,
|
| // in Z order.
|
|
|