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

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

Issue 2522043003: Replace ASSERT_NOT_REACHED -> NOTREACHED (Closed)
Patch Set: Created 4 years, 1 month 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
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 9df94450e42381ac11cec4c32ae478dc8994157e..9dff72566f310a1a1b9235a9f1966b982034e177 100644
--- a/third_party/WebKit/Source/core/layout/LayoutText.h
+++ b/third_party/WebKit/Source/core/layout/LayoutText.h
@@ -247,15 +247,13 @@ class CORE_EXPORT LayoutText : public LayoutObject {
unsigned length() const final { return textLength(); }
// See the class comment as to why we shouldn't call this function directly.
- void paint(const PaintInfo&, const LayoutPoint&) const final {
- ASSERT_NOT_REACHED();
- }
- void layout() final { ASSERT_NOT_REACHED(); }
+ void paint(const PaintInfo&, const LayoutPoint&) const final { NOTREACHED(); }
+ void layout() final { NOTREACHED(); }
bool nodeAtPoint(HitTestResult&,
const HitTestLocation&,
const LayoutPoint&,
HitTestAction) final {
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return false;
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBox.h ('k') | third_party/WebKit/Source/core/style/ShapeValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698