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 c4c837b671169bfb69275e7cf0c9a2cef2cd12ae..30cb96eb540c46f0b4160115b647d8b76f7f8346 100644 |
--- a/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp |
@@ -344,7 +344,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); |
} |
@@ -498,7 +498,7 @@ String CSSComputedStyleDeclaration::getPropertyValue( |
return value->cssText(); |
return String(); |
} |
- ASSERT(CSSPropertyMetadata::isEnabledProperty(propertyID)); |
+ DCHECK(CSSPropertyMetadata::isEnabledProperty(propertyID)); |
return getPropertyValue(propertyID); |
} |