| Index: Source/platform/heap/HeapTest.cpp
|
| diff --git a/Source/platform/heap/HeapTest.cpp b/Source/platform/heap/HeapTest.cpp
|
| index 3772165f28ad414586d10687e6b6f24d8b29f7c7..57d9fd5a4d367fc0f2f7d166fbf446029fde8076 100644
|
| --- a/Source/platform/heap/HeapTest.cpp
|
| +++ b/Source/platform/heap/HeapTest.cpp
|
| @@ -43,6 +43,7 @@
|
| #include "public/platform/WebTraceLocation.h"
|
| #include "wtf/HashTraits.h"
|
| #include "wtf/LinkedHashSet.h"
|
| +#include "wtf/SizeAssertions.h"
|
|
|
| #include <gtest/gtest.h>
|
|
|
| @@ -88,11 +89,7 @@ private:
|
| static_assert(WTF::NeedsTracing<IntWrapper>::value, "NeedsTracing macro failed to recognize trace method.");
|
|
|
| #if !ENABLE(GC_PROFILING)
|
| -struct SameSizeAsPersistent {
|
| - void* m_pointer[4];
|
| -};
|
| -
|
| -static_assert(sizeof(Persistent<IntWrapper>) <= sizeof(SameSizeAsPersistent), "Persistent handle should stay small");
|
| +ASSERT_SIZE(Persistent<IntWrapper>, 16, 16);
|
| #endif
|
|
|
| class ThreadMarker {
|
|
|