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

Unified Diff: third_party/WebKit/Source/core/css/MediaQueryMatcher.cpp

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/MediaQueryMatcher.cpp
diff --git a/third_party/WebKit/Source/core/css/MediaQueryMatcher.cpp b/third_party/WebKit/Source/core/css/MediaQueryMatcher.cpp
index 002106cbf9aa9046fbecbf535c658d95074ef058..88ea2ceb275a925d4e4aba91d9f3ddab76567fc5 100644
--- a/third_party/WebKit/Source/core/css/MediaQueryMatcher.cpp
+++ b/third_party/WebKit/Source/core/css/MediaQueryMatcher.cpp
@@ -38,7 +38,7 @@ MediaQueryMatcher* MediaQueryMatcher::create(Document& document) {
MediaQueryMatcher::MediaQueryMatcher(Document& document)
: m_document(&document) {
- ASSERT(m_document);
+ DCHECK(m_document);
}
MediaQueryMatcher::~MediaQueryMatcher() {}
@@ -56,7 +56,7 @@ MediaQueryEvaluator* MediaQueryMatcher::createEvaluator() const {
}
bool MediaQueryMatcher::evaluate(const MediaQuerySet* media) {
- ASSERT(!m_document || m_document->frame() || !m_evaluator);
+ DCHECK(!m_document || m_document->frame() || !m_evaluator);
if (!media)
return false;
« no previous file with comments | « third_party/WebKit/Source/core/css/MediaQueryExp.cpp ('k') | third_party/WebKit/Source/core/css/MediaValues.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698