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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.cpp

Issue 2758683002: Replace ASSERT_NOT_REACHED with NOTREACHED in core/layout/ (Closed)
Patch Set: Rebase with latest Created 3 years, 9 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
Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
index e0ce2763815212db5fd5cbbc3ee6b5bf4cf95dff..5834d948e1aa15405552dd92382df3707521b74a 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
@@ -214,7 +214,7 @@ LayoutObject* LayoutObject::createObject(Element* element,
return new LayoutGrid(element);
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return nullptr;
}
@@ -652,7 +652,7 @@ LayoutBox* LayoutObject::enclosingBox() const {
curr = curr->parent();
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return nullptr;
}
@@ -664,7 +664,7 @@ LayoutBoxModelObject* LayoutObject::enclosingBoxModelObject() const {
curr = curr->parent();
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return nullptr;
}
@@ -2194,7 +2194,7 @@ void LayoutObject::mapLocalToAncestor(const LayoutBoxModelObject* ancestor,
const LayoutObject* LayoutObject::pushMappingToContainer(
const LayoutBoxModelObject* ancestorToStopAt,
LayoutGeometryMap& geometryMap) const {
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return nullptr;
}
@@ -3392,7 +3392,7 @@ AffineTransform LayoutObject::localSVGTransform() const {
bool LayoutObject::nodeAtFloatPoint(HitTestResult&,
const FloatPoint&,
HitTestAction) {
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return false;
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.h ('k') | third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698