| Index: Source/core/layout/ClipRect.h
|
| diff --git a/Source/core/layout/ClipRect.h b/Source/core/layout/ClipRect.h
|
| index 7e3f429ad75492da15d6a9316531187dd0020517..e04690d9cfa25df26a80c78f99fbd9f591fe46e8 100644
|
| --- a/Source/core/layout/ClipRect.h
|
| +++ b/Source/core/layout/ClipRect.h
|
| @@ -28,21 +28,14 @@
|
|
|
| #include "platform/geometry/LayoutRect.h"
|
| #include "wtf/FastAllocBase.h"
|
| -#include "wtf/PassOwnPtr.h"
|
|
|
| namespace blink {
|
|
|
| -class DeprecatedPaintLayer;
|
| class HitTestLocation;
|
|
|
| class ClipRect {
|
| WTF_MAKE_FAST_ALLOCATED(ClipRect);
|
| public:
|
| - static PassOwnPtr<ClipRect> create(const ClipRect& other)
|
| - {
|
| - return adoptPtr(new ClipRect(other));
|
| - }
|
| -
|
| ClipRect()
|
| : m_hasRadius(false)
|
| { }
|
| @@ -75,18 +68,7 @@ public:
|
| bool isEmpty() const { return m_rect.isEmpty(); }
|
| bool intersects(const HitTestLocation&) const;
|
|
|
| - const DeprecatedPaintLayer* rootLayer() const
|
| - {
|
| - return m_rootLayer;
|
| - }
|
| -
|
| - void setRootLayer(const DeprecatedPaintLayer* rootLayer)
|
| - {
|
| - m_rootLayer = rootLayer;
|
| - }
|
| -
|
| private:
|
| - const DeprecatedPaintLayer* m_rootLayer;
|
| LayoutRect m_rect;
|
| bool m_hasRadius;
|
| };
|
|
|