Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(210)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutText.h

Issue 2871983002: blink: Remove CHECK_CONSISTENCY. (Closed)
Patch Set: . Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutText.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698