| 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..aca49a2d2136fba6d2d789729c70db0bd8d845f8 100644
|
| --- a/third_party/WebKit/Source/core/dom/IntersectionObservation.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/IntersectionObservation.cpp
|
| @@ -67,7 +67,8 @@ void IntersectionObservation::computeIntersectionObservations(
|
| newThresholdIndex = 0;
|
| }
|
|
|
| - RELEASE_ASSERT(newThresholdIndex < kMaxThresholdIndex);
|
| + // TODO(tkent): We can't use CHECK_LT due to a compile error.
|
| + CHECK(newThresholdIndex < kMaxThresholdIndex);
|
|
|
| if (m_lastThresholdIndex != newThresholdIndex) {
|
| IntRect snappedRootBounds = geometry.rootIntRect();
|
|
|