Home | History | Annotate | Download | only in geometry

Lines Matching refs:IntSize

23 #include "platform/geometry/IntSize.h"
29 template<> struct IntHash<WebCore::IntSize> {
30 static unsigned hash(const WebCore::IntSize& key) { return pairIntHash(key.width(), key.height()); }
31 static bool equal(const WebCore::IntSize& a, const WebCore::IntSize& b) { return a == b; }
35 template<> struct DefaultHash<WebCore::IntSize> {
36 typedef IntHash<WebCore::IntSize> Hash;
39 template<> struct HashTraits<WebCore::IntSize> : GenericHashTraits<WebCore::IntSize> {
42 static void constructDeletedValue(WebCore::IntSize& slot) { new (NotNull, &slot) WebCore::IntSize(-1, -1); }
43 static bool isDeletedValue(const WebCore::IntSize& value) { return value.width() == -1 && value.height() == -1; }