Index: Source/platform/geometry/IntPoint.h |
diff --git a/Source/platform/geometry/IntPoint.h b/Source/platform/geometry/IntPoint.h |
index 206f21098f7cbb32252419828abef32176402df0..acc319d3f1ccbef49ed43fba8f1de013cf52f103 100644 |
--- a/Source/platform/geometry/IntPoint.h |
+++ b/Source/platform/geometry/IntPoint.h |
@@ -29,6 +29,7 @@ |
#include "platform/geometry/IntSize.h" |
#include "wtf/MathExtras.h" |
+#include "wtf/VectorTraits.h" |
#if OS(MACOSX) |
typedef struct CGPoint CGPoint; |
@@ -160,4 +161,11 @@ inline int IntPoint::distanceSquaredToPoint(const IntPoint& point) const |
} // namespace WebCore |
+namespace WTF { |
+ |
+template<> |
+struct VectorTraits<WebCore::IntPoint> : SimpleClassVectorTraits<WebCore::IntPoint> { }; |
+ |
+} // namespace WTF |
+ |
#endif // IntPoint_h |