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); |
} |