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..8d19f7f862ef4adc6b754cdce16072ebd3fe200e 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); } |