diff options
Diffstat (limited to 'Source/WebCore/rendering/ExclusionRectangle.h')
| -rw-r--r-- | Source/WebCore/rendering/ExclusionRectangle.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/WebCore/rendering/ExclusionRectangle.h b/Source/WebCore/rendering/ExclusionRectangle.h index 5ca289d86..0078264dd 100644 --- a/Source/WebCore/rendering/ExclusionRectangle.h +++ b/Source/WebCore/rendering/ExclusionRectangle.h @@ -53,6 +53,7 @@ public: virtual FloatRect shapeLogicalBoundingBox() const OVERRIDE { return internalToLogicalBoundingBox(FloatRect(m_x, m_y, m_width, m_height)); } virtual void getExcludedIntervals(float logicalTop, float logicalBottom, SegmentList&) const OVERRIDE; virtual void getIncludedIntervals(float logicalTop, float logicalBottom, SegmentList&) const OVERRIDE; + virtual bool isEmpty() const OVERRIDE { return m_width <= 0 || m_height <= 0; } private: float m_x; |
