Chromium Code Reviews| Index: ui/compositor/paint_context.h |
| diff --git a/ui/compositor/paint_context.h b/ui/compositor/paint_context.h |
| index ee9134ed837f6bcbd7e7a669a05d43d2da8a93e5..8613f00c74a59134d6b9076e4e8151f39350b277 100644 |
| --- a/ui/compositor/paint_context.h |
| +++ b/ui/compositor/paint_context.h |
| @@ -78,6 +78,10 @@ class COMPOSITOR_EXPORT PaintContext { |
| // cache contents. |
| friend class PaintCache; |
| + // Returns a rect with the given size in the space of the context's |
| + // containing layer. |
| + gfx::Rect ToVisualRect(const gfx::Size& visual_size) const; |
|
wkorman
2015/11/16 19:01:03
Renamed to ToLayerSpaceBounds.
|
| + |
| cc::DisplayItemList* list_; |
| scoped_ptr<SkPictureRecorder> owned_recorder_; |
| // A pointer to the |owned_recorder_| in this PaintContext, or in another one |