| Index: third_party/WebKit/Source/core/css/CSSStyleRule.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/CSSStyleRule.cpp b/third_party/WebKit/Source/core/css/CSSStyleRule.cpp
|
| index 7e5b2d9e4952cadac7743224c161a7d14f4ef485..9646330dc7c2638ef3bb022f81d84874ffe794e0 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSStyleRule.cpp
|
| +++ b/third_party/WebKit/Source/core/css/CSSStyleRule.cpp
|
| @@ -65,11 +65,11 @@ String CSSStyleRule::generateSelectorText() const {
|
|
|
| String CSSStyleRule::selectorText() const {
|
| if (hasCachedSelectorText()) {
|
| - ASSERT(selectorTextCache().contains(this));
|
| + DCHECK(selectorTextCache().contains(this));
|
| return selectorTextCache().at(this);
|
| }
|
|
|
| - ASSERT(!selectorTextCache().contains(this));
|
| + DCHECK(!selectorTextCache().contains(this));
|
| String text = generateSelectorText();
|
| selectorTextCache().set(this, text);
|
| setHasCachedSelectorText(true);
|
| @@ -108,7 +108,7 @@ String CSSStyleRule::cssText() const {
|
| }
|
|
|
| void CSSStyleRule::reattach(StyleRuleBase* rule) {
|
| - ASSERT(rule);
|
| + DCHECK(rule);
|
| m_styleRule = toStyleRule(rule);
|
| if (m_propertiesCSSOMWrapper)
|
| m_propertiesCSSOMWrapper->reattach(m_styleRule->mutableProperties());
|
|
|