| Index: third_party/WebKit/Source/core/layout/LayoutText.h
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutText.h b/third_party/WebKit/Source/core/layout/LayoutText.h
|
| index 7b9184c8ea1687d1cca026c7aa364d0ff1e51711..6c10d9e93cf47b76c37e64d64e72e33beea3ed39 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutText.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutText.h
|
| @@ -72,7 +72,7 @@ class CORE_EXPORT LayoutText : public LayoutObject {
|
| // not the content of the Text node, updating text-transform property
|
| // doesn't re-transform the string.
|
| LayoutText(Node*, PassRefPtr<StringImpl>);
|
| -#if ENABLE(ASSERT)
|
| +#if DCHECK_IS_ON()
|
| ~LayoutText() override;
|
| #endif
|
|
|
| @@ -343,7 +343,7 @@ inline float LayoutText::hyphenWidth(const Font& font,
|
|
|
| DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutText, isText());
|
|
|
| -#if !ENABLE(ASSERT)
|
| +#if !DCHECK_IS_ON()
|
| inline void LayoutText::checkConsistency() const {}
|
| #endif
|
|
|
|
|