| Index: third_party/WebKit/Source/core/layout/line/InlineBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/line/InlineBox.cpp b/third_party/WebKit/Source/core/layout/line/InlineBox.cpp
|
| index ba2aa2567ffc9bb39bca5002b846f0d7f777ad7a..97ae55243db8cc510f9eb2ca5260d0f5ce307bd7 100644
|
| --- a/third_party/WebKit/Source/core/layout/line/InlineBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/line/InlineBox.cpp
|
| @@ -43,7 +43,7 @@ struct SameSizeAsInlineBox : DisplayItemClient {
|
| void* a[4];
|
| LayoutPoint b;
|
| LayoutUnit c;
|
| -#if ENABLE(ASSERT)
|
| +#if DCHECK_IS_ON()
|
| bool f;
|
| #endif
|
| };
|
| @@ -51,13 +51,11 @@ struct SameSizeAsInlineBox : DisplayItemClient {
|
| static_assert(sizeof(InlineBox) == sizeof(SameSizeAsInlineBox),
|
| "InlineBox should stay small");
|
|
|
| -#if ENABLE(ASSERT)
|
| -
|
| +#if DCHECK_IS_ON()
|
| InlineBox::~InlineBox() {
|
| if (!m_hasBadParent && m_parent)
|
| m_parent->setHasBadChildList();
|
| }
|
| -
|
| #endif
|
|
|
| DISABLE_CFI_PERF
|
|
|