| Index: Source/core/layout/LayoutTableCell.cpp
|
| diff --git a/Source/core/layout/LayoutTableCell.cpp b/Source/core/layout/LayoutTableCell.cpp
|
| index 9a8e4481d00bad32a33127785e37d93eef08260f..26f097f978ca82ce9f0f51e00ad87081718a0a49 100644
|
| --- a/Source/core/layout/LayoutTableCell.cpp
|
| +++ b/Source/core/layout/LayoutTableCell.cpp
|
| @@ -36,18 +36,14 @@
|
| #include "core/style/CollapsedBorderValue.h"
|
| #include "platform/geometry/FloatQuad.h"
|
| #include "platform/geometry/TransformState.h"
|
| +#include "wtf/SizeAssertions.h"
|
|
|
| namespace blink {
|
|
|
| using namespace HTMLNames;
|
|
|
| -struct SameSizeAsLayoutTableCell : public LayoutBlockFlow {
|
| - unsigned bitfields;
|
| - int paddings[2];
|
| -};
|
| -
|
| -static_assert(sizeof(LayoutTableCell) == sizeof(SameSizeAsLayoutTableCell), "LayoutTableCell should stay small");
|
| -static_assert(sizeof(CollapsedBorderValue) == 8, "CollapsedBorderValue should stay small");
|
| +ASSERT_SIZE(LayoutTableCell, sizeof(LayoutBlockFlow) + 12, sizeof(LayoutBlockFlow) + 16);
|
| +ASSERT_SIZE(CollapsedBorderValue, 8, 8);
|
|
|
| LayoutTableCell::LayoutTableCell(Element* element)
|
| : LayoutBlockFlow(element)
|
|
|