Index: third_party/WebKit/Source/core/paint/ClipRect.h |
diff --git a/third_party/WebKit/Source/core/paint/ClipRect.h b/third_party/WebKit/Source/core/paint/ClipRect.h |
index 4a12cdb4afc0e046165bc26eb68e5ac70e7e9813..5999fbc8dad2b93a1b20dcc05b52e1f647a6d5d2 100644 |
--- a/third_party/WebKit/Source/core/paint/ClipRect.h |
+++ b/third_party/WebKit/Source/core/paint/ClipRect.h |
@@ -37,10 +37,9 @@ class ClipRect { |
USING_FAST_MALLOC(ClipRect); |
public: |
- ClipRect() : m_hasRadius(false), m_isClippedByClipCss(false) {} |
+ ClipRect() : m_hasRadius(false) {} |
- ClipRect(const LayoutRect& rect) |
- : m_rect(rect), m_hasRadius(false), m_isClippedByClipCss(false) {} |
+ ClipRect(const LayoutRect& rect) : m_rect(rect), m_hasRadius(false) {} |
const LayoutRect& rect() const { return m_rect; } |
@@ -70,19 +69,11 @@ class ClipRect { |
bool isEmpty() const { return m_rect.isEmpty(); } |
bool intersects(const HitTestLocation&) const; |
- // These have no semantic use. They are used for use-counting. |
- bool isClippedByClipCss() const { return m_isClippedByClipCss; } |
- ClipRect& setIsClippedByClipCss() { |
- m_isClippedByClipCss = true; |
- return *this; |
- } |
- |
String toString() const { return m_rect.toString(); } |
private: |
LayoutRect m_rect; |
bool m_hasRadius; |
- bool m_isClippedByClipCss; |
}; |
inline ClipRect intersection(const ClipRect& a, const ClipRect& b) { |