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 22c4160fc06104568b74dfe2f44f7a07a76ceb69..218b1cb4c8788ddff167d04a96e992eec9272ac3 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutText.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutText.h |
@@ -285,8 +285,6 @@ class CORE_EXPORT LayoutText : public LayoutObject { |
LayoutRect LocalVisualRect() const override; |
- void CheckConsistency() const; |
- |
// We put the bitfield first to minimize padding on 64-bit. |
// Whether or not we can be broken into multiple lines. |
@@ -351,10 +349,6 @@ inline float LayoutText::HyphenWidth(const Font& font, |
DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutText, IsText()); |
-#if !DCHECK_IS_ON() |
-inline void LayoutText::CheckConsistency() const {} |
-#endif |
- |
inline LayoutText* Text::GetLayoutObject() const { |
return ToLayoutText(CharacterData::GetLayoutObject()); |
} |