| Index: Source/platform/graphics/paint/DisplayItem.cpp
|
| diff --git a/Source/platform/graphics/paint/DisplayItem.cpp b/Source/platform/graphics/paint/DisplayItem.cpp
|
| index 25b0bcf79e4bb6e243f672e6e88edb6c865b86af..69de77ee826839164e9839193eb0d66f53e3dac1 100644
|
| --- a/Source/platform/graphics/paint/DisplayItem.cpp
|
| +++ b/Source/platform/graphics/paint/DisplayItem.cpp
|
| @@ -5,17 +5,11 @@
|
| #include "config.h"
|
| #include "platform/graphics/paint/DisplayItem.h"
|
|
|
| +#include "wtf/SizeAssertions.h"
|
| +
|
| namespace blink {
|
|
|
| -struct SameSizeAsDisplayItem {
|
| - virtual ~SameSizeAsDisplayItem() { } // Allocate vtable pointer.
|
| - void* pointer;
|
| - int ints[2]; // Make sure other fields are packed into two ints.
|
| -#ifndef NDEBUG
|
| - WTF::String m_debugString;
|
| -#endif
|
| -};
|
| -static_assert(sizeof(DisplayItem) == sizeof(SameSizeAsDisplayItem), "DisplayItem should stay small");
|
| +ASSERT_SIZE(DisplayItem, 16, 24);
|
|
|
| #ifndef NDEBUG
|
|
|
|
|