| Index: third_party/WebKit/Source/core/layout/ng/ng_inline_node.h
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_inline_node.h b/third_party/WebKit/Source/core/layout/ng/ng_inline_node.h
|
| index b3cab22b1091c2147fcbceb3ae03c3f7efa2931f..6fe47a6a174423f9cf8f500a0c010697bb4f8c76 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_inline_node.h
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_inline_node.h
|
| @@ -211,11 +211,11 @@ class NGLayoutInlineItemRange {
|
| unsigned Size() const { return size_; }
|
|
|
| NGLayoutInlineItem& operator[](unsigned index) {
|
| - RELEASE_ASSERT(index < size_);
|
| + CHECK_LT(index, size_);
|
| return start_item_[index];
|
| }
|
| const NGLayoutInlineItem& operator[](unsigned index) const {
|
| - RELEASE_ASSERT(index < size_);
|
| + CHECK_LT(index, size_);
|
| return start_item_[index];
|
| }
|
|
|
|
|