Index: Source/platform/geometry/Region.cpp |
diff --git a/Source/platform/geometry/Region.cpp b/Source/platform/geometry/Region.cpp |
index c21e6bcf6c626b0353260cbab803f4b634cd9411..b9f4490fc05605f34fe24f767f1d60958da69426 100644 |
--- a/Source/platform/geometry/Region.cpp |
+++ b/Source/platform/geometry/Region.cpp |
@@ -109,20 +109,6 @@ bool Region::intersects(const Region& region) const |
return Shape::compareShapes<Shape::CompareIntersectsOperation>(m_shape, region.m_shape); |
} |
-unsigned Region::totalArea() const |
-{ |
- Vector<IntRect> rects = this->rects(); |
- size_t size = rects.size(); |
- unsigned totalArea = 0; |
- |
- for (size_t i = 0; i < size; ++i) { |
- IntRect rect = rects[i]; |
- totalArea += (rect.width() * rect.height()); |
- } |
- |
- return totalArea; |
-} |
- |
template<typename CompareOperation> |
bool Region::Shape::compareShapes(const Shape& aShape, const Shape& bShape) |
{ |