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

Unified Diff: third_party/WebKit/Source/core/html/HTMLContentElement.cpp

Issue 2258033002: Replace ASSERT()s with DCHECK*() in core/html/*.{cpp,h}. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replace ASSERT()s with DCHECK*() in core/html/*.{cpp,h}. Created 4 years, 4 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/html/HTMLContentElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLContentElement.cpp b/third_party/WebKit/Source/core/html/HTMLContentElement.cpp
index eb7def64d3de0d6af8df805508d552504e22bb2a..8621d34349acf819dabbe5159f4a72ee10343304 100644
--- a/third_party/WebKit/Source/core/html/HTMLContentElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLContentElement.cpp
@@ -63,7 +63,7 @@ DEFINE_TRACE(HTMLContentElement)
void HTMLContentElement::parseSelect()
{
- ASSERT(m_shouldParseSelect);
+ DCHECK(m_shouldParseSelect);
m_selectorList = CSSParser::parseSelector(CSSParserContext(document(), nullptr), nullptr, m_select);
m_shouldParseSelect = false;
@@ -97,7 +97,7 @@ static inline bool includesDisallowedPseudoClass(const CSSSelector& selector)
bool HTMLContentElement::validateSelect() const
{
- ASSERT(!m_shouldParseSelect);
+ DCHECK(!m_shouldParseSelect);
if (m_select.isNull() || m_select.isEmpty())
return true;

Powered by Google App Engine
This is Rietveld 408576698