diff options
Diffstat (limited to 'src/3rdparty/webkit/WebCore/css/MediaQueryEvaluator.cpp')
-rw-r--r-- | src/3rdparty/webkit/WebCore/css/MediaQueryEvaluator.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/3rdparty/webkit/WebCore/css/MediaQueryEvaluator.cpp b/src/3rdparty/webkit/WebCore/css/MediaQueryEvaluator.cpp index ded40b5..20c7bb9 100644 --- a/src/3rdparty/webkit/WebCore/css/MediaQueryEvaluator.cpp +++ b/src/3rdparty/webkit/WebCore/css/MediaQueryEvaluator.cpp @@ -533,6 +533,9 @@ bool MediaQueryEvaluator::eval(const MediaQueryExp* expr) const if (!m_frame || !m_style) return m_expResult; + if (!expr->isValid()) + return false; + if (!gFunctionMap) createFunctionMap(); |