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 |