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

Unified Diff: third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp

Issue 2755493004: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in core/css/ (Closed)
Patch Set: All windows error are Resolved now. 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/CSSComputedStyleDeclaration.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp b/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
index de265523670001da9c92d5122c5bc6ba57531c91..d553a47001d999ea99a702183d5c2a21ac00ef87 100644
--- a/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
+++ b/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
@@ -345,7 +345,7 @@ bool CSSComputedStyleDeclaration::isMonospaceFont() const {
}
const ComputedStyle* CSSComputedStyleDeclaration::computeComputedStyle() const {
Node* styledNode = this->styledNode();
- ASSERT(styledNode);
+ DCHECK(styledNode);
return styledNode->ensureComputedStyle(
styledNode->isPseudoElement() ? PseudoIdNone : m_pseudoElementSpecifier);
}
@@ -499,7 +499,7 @@ String CSSComputedStyleDeclaration::getPropertyValue(
return value->cssText();
return String();
}
- ASSERT(CSSPropertyMetadata::isEnabledProperty(propertyID));
+ DCHECK(CSSPropertyMetadata::isEnabledProperty(propertyID));
return getPropertyValue(propertyID);
}
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSCalculationValue.cpp ('k') | third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698