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

Unified Diff: third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp

Issue 1854423002: ASSERT -> {DCHECK|DCHECK_XX}, ENABLE(ASSERT) -> DCHECK_IS_ON() in dom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mark svg/as-image/svg-nested.html crash on win Created 4 years, 8 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
« no previous file with comments | « third_party/WebKit/Source/core/dom/Attr.cpp ('k') | third_party/WebKit/Source/core/dom/CharacterData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp
diff --git a/third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp b/third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp
index 22a82007e0129bee2553ba31b08cd18b2d3fe6a8..71f63ffc5fae536292287bddd512ecc6212ad902 100644
--- a/third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp
+++ b/third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp
@@ -69,7 +69,7 @@ CSSSelectorWatch* CSSSelectorWatch::fromIfExists(Document& document)
void CSSSelectorWatch::callbackSelectorChangeTimerFired(Timer<CSSSelectorWatch>*)
{
// Should be ensured by updateSelectorMatches():
- ASSERT(!m_addedSelectors.isEmpty() || !m_removedSelectors.isEmpty());
+ DCHECK(!m_addedSelectors.isEmpty() || !m_removedSelectors.isEmpty());
if (m_timerExpirations < 1) {
m_timerExpirations++;
« no previous file with comments | « third_party/WebKit/Source/core/dom/Attr.cpp ('k') | third_party/WebKit/Source/core/dom/CharacterData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698