Index: Source/core/css/MediaQueryEvaluator.cpp |
diff --git a/Source/core/css/MediaQueryEvaluator.cpp b/Source/core/css/MediaQueryEvaluator.cpp |
index 2ded0b59dfe788d4e517ba4061d06ebf720f367c..f647c4bd718d3656b419da160d7ee64dc3bb6832 100644 |
--- a/Source/core/css/MediaQueryEvaluator.cpp |
+++ b/Source/core/css/MediaQueryEvaluator.cpp |
@@ -131,9 +131,6 @@ bool MediaQueryEvaluator::eval(const MediaQuerySet* querySet, StyleResolver* sty |
for (size_t i = 0; i < queries.size() && !result; ++i) { |
MediaQuery* query = queries[i].get(); |
- if (query->ignored()) |
- continue; |
- |
if (mediaTypeMatch(query->mediaType())) { |
const Vector<OwnPtr<MediaQueryExp> >* exps = query->expressions(); |
// iterate through expressions, stop if any of them eval to false |
@@ -681,9 +678,6 @@ bool MediaQueryEvaluator::eval(const MediaQueryExp* expr) const |
if (!m_frame || !m_style) |
return m_expResult; |
- if (!expr->isValid()) |
- return false; |
- |
if (!gFunctionMap) |
createFunctionMap(); |