Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / rendering / RenderLayerClipper.h
index fea7716..3620979 100644 (file)
@@ -70,7 +70,7 @@ struct ClipRectsContext {
 class RenderLayerClipper FINAL {
     WTF_MAKE_NONCOPYABLE(RenderLayerClipper);
 public:
-    explicit RenderLayerClipper(RenderLayerModelObject* renderer)
+    explicit RenderLayerClipper(RenderLayerModelObject& renderer)
         : m_renderer(renderer)
         , m_compositingClipRectsDirty(false)
     {
@@ -91,7 +91,6 @@ public:
     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;
@@ -118,7 +117,7 @@ private:
     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;
 };