Index: third_party/WebKit/Source/core/css/RuleSet.cpp |
diff --git a/third_party/WebKit/Source/core/css/RuleSet.cpp b/third_party/WebKit/Source/core/css/RuleSet.cpp |
index 8885cbdbd354535664a9b14cd8f2ca7a7b2038ef..897e8b5b7898fc456531f8903ee06f13c55928a1 100644 |
--- a/third_party/WebKit/Source/core/css/RuleSet.cpp |
+++ b/third_party/WebKit/Source/core/css/RuleSet.cpp |
@@ -203,7 +203,8 @@ bool RuleSet::findBestRuleSetAndAdd(const CSSSelector& component, |
// and have a relation of ShadowPseudo between them. Therefore we should |
// never be a situation where extractValuesforSelector finsd id and |
// className in addition to custom pseudo. |
- ASSERT(id.isEmpty() && className.isEmpty()); |
+ DCHECK(id.isEmpty()); |
+ DCHECK(className.isEmpty()); |
addToRuleSet(customPseudoElementName, |
ensurePendingRules()->shadowPseudoElementRules, ruleData); |
return true; |
@@ -323,7 +324,7 @@ void RuleSet::addRulesFromSheet(StyleSheetContents* sheet, |
AddRuleFlags addRuleFlags) { |
TRACE_EVENT0("blink", "RuleSet::addRulesFromSheet"); |
- ASSERT(sheet); |
+ DCHECK(sheet); |
const HeapVector<Member<StyleRuleImport>>& importRules = sheet->importRules(); |
for (unsigned i = 0; i < importRules.size(); ++i) { |