Index: third_party/WebKit/Source/platform/heap/HeapTest.cpp |
diff --git a/third_party/WebKit/Source/platform/heap/HeapTest.cpp b/third_party/WebKit/Source/platform/heap/HeapTest.cpp |
index 328e00a9f544d521ccb5803c7254cbd47ac31bef..a1fbbdc6b1c72a22654199175200fcf3ef0bc378 100644 |
--- a/third_party/WebKit/Source/platform/heap/HeapTest.cpp |
+++ b/third_party/WebKit/Source/platform/heap/HeapTest.cpp |
@@ -2428,8 +2428,7 @@ TEST(HeapTest, LargeHeapObjects) |
TEST(HeapTest, LargeHashMap) |
{ |
clearOutOldGarbage(); |
- |
- size_t size = (1 << 27) / sizeof(int); |
+ size_t size = (1 << 27) / sizeof(Member<IntWrapper>); |
Persistent<HeapHashMap<int, Member<IntWrapper>>> map = new HeapHashMap<int, Member<IntWrapper>>(); |
map->reserveCapacityForSize(size); |
EXPECT_LE(size, map->capacity()); |