| Index: Source/platform/geometry/IntSizeHash.h
|
| diff --git a/Source/platform/geometry/IntSizeHash.h b/Source/platform/geometry/IntSizeHash.h
|
| index c80f4d23161b7f70cf1b8963ffb52e97a1eb0ba1..dc283cad93d7e117ef9f383afe371b3d5d4049bd 100644
|
| --- a/Source/platform/geometry/IntSizeHash.h
|
| +++ b/Source/platform/geometry/IntSizeHash.h
|
| @@ -26,21 +26,21 @@
|
|
|
| namespace WTF {
|
|
|
| -template<> struct IntHash<WebCore::IntSize> {
|
| - static unsigned hash(const WebCore::IntSize& key) { return pairIntHash(key.width(), key.height()); }
|
| - static bool equal(const WebCore::IntSize& a, const WebCore::IntSize& b) { return a == b; }
|
| +template<> struct IntHash<blink::IntSize> {
|
| + static unsigned hash(const blink::IntSize& key) { return pairIntHash(key.width(), key.height()); }
|
| + static bool equal(const blink::IntSize& a, const blink::IntSize& b) { return a == b; }
|
| static const bool safeToCompareToEmptyOrDeleted = true;
|
| };
|
|
|
| -template<> struct DefaultHash<WebCore::IntSize> {
|
| - typedef IntHash<WebCore::IntSize> Hash;
|
| +template<> struct DefaultHash<blink::IntSize> {
|
| + typedef IntHash<blink::IntSize> Hash;
|
| };
|
|
|
| -template<> struct HashTraits<WebCore::IntSize> : GenericHashTraits<WebCore::IntSize> {
|
| +template<> struct HashTraits<blink::IntSize> : GenericHashTraits<blink::IntSize> {
|
| static const bool emptyValueIsZero = true;
|
| static const bool needsDestruction = false;
|
| - static void constructDeletedValue(WebCore::IntSize& slot) { new (NotNull, &slot) WebCore::IntSize(-1, -1); }
|
| - static bool isDeletedValue(const WebCore::IntSize& value) { return value.width() == -1 && value.height() == -1; }
|
| + static void constructDeletedValue(blink::IntSize& slot) { new (NotNull, &slot) blink::IntSize(-1, -1); }
|
| + static bool isDeletedValue(const blink::IntSize& value) { return value.width() == -1 && value.height() == -1; }
|
| };
|
|
|
| } // namespace WTF
|
|
|