Chromium Code Reviews| Index: third_party/WebKit/Source/core/layout/LayoutTableRow.h |
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTableRow.h b/third_party/WebKit/Source/core/layout/LayoutTableRow.h |
| index 7d6850eb57dda198d769a99d1477a7443c5424a4..a92a297124f551d467d220ead361db9462b418d6 100644 |
| --- a/third_party/WebKit/Source/core/layout/LayoutTableRow.h |
| +++ b/third_party/WebKit/Source/core/layout/LayoutTableRow.h |
| @@ -85,9 +85,7 @@ class CORE_EXPORT LayoutTableRow final : public LayoutTableBoxComponent { |
| } |
| void SetRowIndex(unsigned row_index) { |
| - if (UNLIKELY(row_index > kMaxRowIndex)) |
| - IMMEDIATE_CRASH(); |
| - |
| + CHECK(!UNLIKELY(row_index > kMaxRowIndex)); |
|
tkent
2017/06/05 01:58:51
UNLIKELY isn't necessary. CHECK() contains it int
|
| row_index_ = row_index; |
| } |