Chromium Code Reviews| Index: third_party/WebKit/Source/core/dom/IntersectionObservation.cpp |
| diff --git a/third_party/WebKit/Source/core/dom/IntersectionObservation.cpp b/third_party/WebKit/Source/core/dom/IntersectionObservation.cpp |
| index e1471030d641808fed3a451df52f92dcdb868776..0be3a899f1e009848a278043ea0f4e61f151e872 100644 |
| --- a/third_party/WebKit/Source/core/dom/IntersectionObservation.cpp |
| +++ b/third_party/WebKit/Source/core/dom/IntersectionObservation.cpp |
| @@ -67,7 +67,7 @@ void IntersectionObservation::computeIntersectionObservations( |
| newThresholdIndex = 0; |
| } |
| - RELEASE_ASSERT(newThresholdIndex < kMaxThresholdIndex); |
| + CHECK(newThresholdIndex < kMaxThresholdIndex); |
|
yoichio
2017/03/02 07:25:22
CHECK_LT?
tkent
2017/03/02 07:33:59
Unfortunately we can't. If we use CHECK_LT, Inter
|
| if (m_lastThresholdIndex != newThresholdIndex) { |
| IntRect snappedRootBounds = geometry.rootIntRect(); |