Index: Source/platform/geometry/IntBoxExtent.h |
diff --git a/Source/platform/geometry/IntRectExtent.h b/Source/platform/geometry/IntBoxExtent.h |
similarity index 87% |
rename from Source/platform/geometry/IntRectExtent.h |
rename to Source/platform/geometry/IntBoxExtent.h |
index 76961d19de2ac982660abf72da2fbb35ebb7cdde..32e58b381ddf06b26bda962639f9eb4b1ab9c90c 100644 |
--- a/Source/platform/geometry/IntRectExtent.h |
+++ b/Source/platform/geometry/IntBoxExtent.h |
@@ -27,16 +27,16 @@ |
* SUCH DAMAGE. |
*/ |
-#ifndef IntRectExtent_h |
-#define IntRectExtent_h |
+#ifndef IntBoxExtent_h |
+#define IntBoxExtent_h |
#include "platform/geometry/LayoutRect.h" |
namespace WebCore { |
-class IntRectExtent { |
+class IntBoxExtent { |
public: |
- IntRectExtent() |
+ IntBoxExtent() |
: m_top(0) |
, m_right(0) |
, m_bottom(0) |
@@ -44,7 +44,7 @@ public: |
{ |
} |
- IntRectExtent(int top, int right, int bottom, int left) |
+ IntBoxExtent(int top, int right, int bottom, int left) |
: m_top(top) |
, m_right(right) |
, m_bottom(bottom) |
@@ -82,7 +82,7 @@ private: |
int m_left; |
}; |
-inline bool operator==(const IntRectExtent& a, const IntRectExtent& b) |
+inline bool operator==(const IntBoxExtent& a, const IntBoxExtent& b) |
{ |
return a.top() == b.top() |
&& a.right() == b.right() |
@@ -90,12 +90,12 @@ inline bool operator==(const IntRectExtent& a, const IntRectExtent& b) |
&& a.left() == b.left(); |
} |
-inline bool operator!=(const IntRectExtent& a, const IntRectExtent& b) |
+inline bool operator!=(const IntBoxExtent& a, const IntBoxExtent& b) |
{ |
return !(a == b); |
} |
-inline void operator+=(IntRectExtent& a, const IntRectExtent& b) |
+inline void operator+=(IntBoxExtent& a, const IntBoxExtent& b) |
{ |
a.setTop(a.top() + b.top()); |
a.setRight(a.right() + b.right()); |
@@ -106,4 +106,4 @@ inline void operator+=(IntRectExtent& a, const IntRectExtent& b) |
} // namespace WebCore |
-#endif // IntRectExtent_h |
+#endif // IntBoxExtent_h |