Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(798)

Unified Diff: third_party/WebKit/Source/core/css/invalidation/StyleInvalidator.cpp

Issue 2755493004: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in core/css/ (Closed)
Patch Set: Fixed the Windows Failure Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/invalidation/StyleInvalidator.cpp
diff --git a/third_party/WebKit/Source/core/css/invalidation/StyleInvalidator.cpp b/third_party/WebKit/Source/core/css/invalidation/StyleInvalidator.cpp
index e827a813e02c8007f3c908cc22257ceac3591ce0..ea4273b00b18559b74d4b980c91198e6cfd66d0a 100644
--- a/third_party/WebKit/Source/core/css/invalidation/StyleInvalidator.cpp
+++ b/third_party/WebKit/Source/core/css/invalidation/StyleInvalidator.cpp
@@ -287,7 +287,7 @@ void StyleInvalidator::pushInvalidationSetsForContainerNode(
DCHECK(pendingInvalidations);
for (const auto& invalidationSet : pendingInvalidations->siblings()) {
- RELEASE_ASSERT(invalidationSet->isAlive());
+ CHECK(invalidationSet->isAlive());
siblingData.pushInvalidationSet(toSiblingInvalidationSet(*invalidationSet));
}
@@ -296,7 +296,7 @@ void StyleInvalidator::pushInvalidationSetsForContainerNode(
if (!pendingInvalidations->descendants().isEmpty()) {
for (const auto& invalidationSet : pendingInvalidations->descendants()) {
- RELEASE_ASSERT(invalidationSet->isAlive());
+ CHECK(invalidationSet->isAlive());
recursionData.pushInvalidationSet(*invalidationSet);
}
if (UNLIKELY(*s_tracingEnabled)) {

Powered by Google App Engine
This is Rietveld 408576698