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; |