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

Unified Diff: third_party/WebKit/Source/core/css/RuleSet.h

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
« no previous file with comments | « third_party/WebKit/Source/core/css/RuleFeature.cpp ('k') | third_party/WebKit/Source/core/css/RuleSet.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/RuleSet.h
diff --git a/third_party/WebKit/Source/core/css/RuleSet.h b/third_party/WebKit/Source/core/css/RuleSet.h
index d8ad82f5ffeee46b824cabbe4bc426fdbc347b18..191ee10fb6212b4bf8ce6905b9d20e7f47bb74b0 100644
--- a/third_party/WebKit/Source/core/css/RuleSet.h
+++ b/third_party/WebKit/Source/core/css/RuleSet.h
@@ -158,33 +158,33 @@ class CORE_EXPORT RuleSet : public GarbageCollectedFinalized<RuleSet> {
const RuleFeatureSet& features() const { return m_features; }
const HeapTerminatedArray<RuleData>* idRules(const AtomicString& key) const {
- ASSERT(!m_pendingRules);
+ DCHECK(!m_pendingRules);
return m_idRules.at(key);
}
const HeapTerminatedArray<RuleData>* classRules(
const AtomicString& key) const {
- ASSERT(!m_pendingRules);
+ DCHECK(!m_pendingRules);
return m_classRules.at(key);
}
const HeapTerminatedArray<RuleData>* tagRules(const AtomicString& key) const {
- ASSERT(!m_pendingRules);
+ DCHECK(!m_pendingRules);
return m_tagRules.at(key);
}
const HeapTerminatedArray<RuleData>* shadowPseudoElementRules(
const AtomicString& key) const {
- ASSERT(!m_pendingRules);
+ DCHECK(!m_pendingRules);
return m_shadowPseudoElementRules.at(key);
}
const HeapVector<RuleData>* linkPseudoClassRules() const {
- ASSERT(!m_pendingRules);
+ DCHECK(!m_pendingRules);
return &m_linkPseudoClassRules;
}
const HeapVector<RuleData>* cuePseudoRules() const {
- ASSERT(!m_pendingRules);
+ DCHECK(!m_pendingRules);
return &m_cuePseudoRules;
}
const HeapVector<RuleData>* focusPseudoClassRules() const {
- ASSERT(!m_pendingRules);
+ DCHECK(!m_pendingRules);
return &m_focusPseudoClassRules;
}
const HeapVector<RuleData>* placeholderPseudoRules() const {
@@ -192,15 +192,15 @@ class CORE_EXPORT RuleSet : public GarbageCollectedFinalized<RuleSet> {
return &m_placeholderPseudoRules;
}
const HeapVector<RuleData>* universalRules() const {
- ASSERT(!m_pendingRules);
+ DCHECK(!m_pendingRules);
return &m_universalRules;
}
const HeapVector<RuleData>* shadowHostRules() const {
- ASSERT(!m_pendingRules);
+ DCHECK(!m_pendingRules);
return &m_shadowHostRules;
}
const HeapVector<Member<StyleRulePage>>& pageRules() const {
- ASSERT(!m_pendingRules);
+ DCHECK(!m_pendingRules);
return m_pageRules;
}
const HeapVector<Member<StyleRuleFontFace>>& fontFaceRules() const {
« no previous file with comments | « third_party/WebKit/Source/core/css/RuleFeature.cpp ('k') | third_party/WebKit/Source/core/css/RuleSet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698