Index: Source/platform/geometry/IntSize.h |
diff --git a/Source/platform/geometry/IntSize.h b/Source/platform/geometry/IntSize.h |
index daf51852af23308ac024130a3ff321f323124833..f7caf294a173cd3d81ac813bec6f3095c3ab0c5b 100644 |
--- a/Source/platform/geometry/IntSize.h |
+++ b/Source/platform/geometry/IntSize.h |
@@ -98,13 +98,8 @@ public: |
m_height = minimumSize.height(); |
} |
- int area() const |
- { |
- return m_width * m_height; |
- } |
- |
// Return area in a uint64_t to avoid overflow. |
- uint64_t area_safe() const |
+ uint64_t area() const |
{ |
return static_cast<uint64_t>(width()) * height(); |
} |