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

Unified Diff: third_party/WebKit/Source/core/css/StyleSheetContents.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
Index: third_party/WebKit/Source/core/css/StyleSheetContents.h
diff --git a/third_party/WebKit/Source/core/css/StyleSheetContents.h b/third_party/WebKit/Source/core/css/StyleSheetContents.h
index c8e3b4d35b831b2da96eb8f2f6e33459066f3684..36a9718b42a6dc7f77ab8c36a4c6403cad4e89fc 100644
--- a/third_party/WebKit/Source/core/css/StyleSheetContents.h
+++ b/third_party/WebKit/Source/core/css/StyleSheetContents.h
@@ -174,7 +174,7 @@ class CORE_EXPORT StyleSheetContents
bool didLoadErrorOccur() const { return m_didLoadErrorOccur; }
RuleSet& ruleSet() {
- ASSERT(m_ruleSet);
+ DCHECK(m_ruleSet);
return *m_ruleSet.get();
}
RuleSet& ensureRuleSet(const MediaQueryEvaluator&, AddRuleFlags);
« no previous file with comments | « third_party/WebKit/Source/core/css/StyleRuleKeyframe.cpp ('k') | third_party/WebKit/Source/core/css/StyleSheetContents.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698