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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_inline_node.cc

Issue 2754723004: Replace RELEASE_ASSERT with CHECK in core/layout/ (Closed)
Patch Set: 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_inline_node.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/ng/ng_inline_node.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_inline_node.cc b/third_party/WebKit/Source/core/layout/ng/ng_inline_node.cc
index 6b896ddb19dd867b675242c3bcb8e8063a5bf2c1..45b453f6d90054bab2e33d36e4192c0683c9fa49 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_inline_node.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_inline_node.cc
@@ -367,7 +367,8 @@ NGLayoutInlineItemRange::NGLayoutInlineItemRange(
: start_item_(&(*items)[start_index]),
size_(end_index - start_index),
start_index_(start_index) {
- RELEASE_ASSERT(start_index <= end_index && end_index <= items->size());
+ CHECK_LE(start_index, end_index);
+ CHECK_LE(end_index, items->size());
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_inline_node.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698