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

Unified Diff: third_party/WebKit/Source/core/layout/ScrollAnchor.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/ScrollAnchor.cpp
diff --git a/third_party/WebKit/Source/core/layout/ScrollAnchor.cpp b/third_party/WebKit/Source/core/layout/ScrollAnchor.cpp
index 5e4611a2907b5194846e2765de8c18d2b4540527..f0925ed7b28bf512b8f5cfa1849b22d0ecfb5b0c 100644
--- a/third_party/WebKit/Source/core/layout/ScrollAnchor.cpp
+++ b/third_party/WebKit/Source/core/layout/ScrollAnchor.cpp
@@ -64,7 +64,7 @@ static LayoutPoint cornerPointOfRect(LayoutRect rect, Corner whichCorner) {
case Corner::TopRight:
return rect.maxXMinYCorner();
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return LayoutPoint();
}
@@ -95,7 +95,7 @@ static LayoutRect relativeBounds(const LayoutObject* layoutObject,
localBounds.unite(box->frameRect());
} else {
// Only LayoutBox and LayoutText are supported.
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
LayoutRect relativeBounds = LayoutRect(

Powered by Google App Engine
This is Rietveld 408576698