Index: Source/WebCore/platform/graphics/FloatRect.h |
diff --git a/Source/WebCore/platform/graphics/FloatRect.h b/Source/WebCore/platform/graphics/FloatRect.h |
index 4f3576610afb13c0716ec33ac9bbe7c852fafcb5..b4f9152f2f4d8bcc52161c6260abe80f1abf2895 100644 |
--- a/Source/WebCore/platform/graphics/FloatRect.h |
+++ b/Source/WebCore/platform/graphics/FloatRect.h |
@@ -89,6 +89,8 @@ public: |
float width() const { return m_size.width(); } |
float height() const { return m_size.height(); } |
+ float area() const { return m_size.area(); } |
+ |
void setX(float x) { m_location.setX(x); } |
void setY(float y) { m_location.setY(y); } |
void setWidth(float width) { m_size.setWidth(width); } |
@@ -142,6 +144,7 @@ public: |
WEBCORE_EXPORT bool contains(const FloatPoint&, ContainsMode = InsideOrOnStroke) const; |
WEBCORE_EXPORT void intersect(const FloatRect&); |
+ bool inclusiveIntersect(const FloatRect&); |
WEBCORE_EXPORT void unite(const FloatRect&); |
void uniteEvenIfEmpty(const FloatRect&); |
void uniteIfNonZero(const FloatRect&); |