class RenderLayerClipper FINAL {
WTF_MAKE_NONCOPYABLE(RenderLayerClipper);
public:
- explicit RenderLayerClipper(RenderLayerModelObject* renderer)
+ explicit RenderLayerClipper(RenderLayerModelObject& renderer)
: m_renderer(renderer)
, m_compositingClipRectsDirty(false)
{
void setCompositingClipRectsDirty();
LayoutRect childrenClipRect() const; // Returns the foreground clip rect of the layer in the document's coordinate space.
- LayoutRect selfClipRect() const; // Returns the background clip rect of the layer in the document's coordinate space.
LayoutRect localClipRect() const; // Returns the background clip rect of the layer in the local coordinate space.
ClipRect backgroundClipRect(const ClipRectsContext&) const;
bool isClippingRootForContext(const ClipRectsContext&) const;
// FIXME: Could this be a RenderBox?
- RenderLayerModelObject* m_renderer;
+ RenderLayerModelObject& m_renderer;
OwnPtr<ClipRectsCache> m_clipRectsCache;
unsigned m_compositingClipRectsDirty : 1;
};