| Index: Source/core/css/MediaQueryList.cpp
|
| diff --git a/Source/core/css/MediaQueryList.cpp b/Source/core/css/MediaQueryList.cpp
|
| index 4ada7139b400f292515176bbe9bb65314546d579..d76b5bbec1599f0b80432c1c55c7184e98a28e46 100644
|
| --- a/Source/core/css/MediaQueryList.cpp
|
| +++ b/Source/core/css/MediaQueryList.cpp
|
| @@ -64,11 +64,11 @@ void MediaQueryList::removeListener(PassRefPtrWillBeRawPtr<MediaQueryListListene
|
| m_matcher->removeListener(listener.get(), this);
|
| }
|
|
|
| -void MediaQueryList::evaluate(MediaQueryEvaluator* evaluator, bool& notificationNeeded)
|
| +bool MediaQueryList::evaluate(MediaQueryEvaluator* evaluator)
|
| {
|
| if (m_evaluationRound != m_matcher->evaluationRound() && evaluator)
|
| setMatches(evaluator->eval(m_media.get()));
|
| - notificationNeeded = m_changeRound == m_matcher->evaluationRound();
|
| + return m_changeRound == m_matcher->evaluationRound();
|
| }
|
|
|
| void MediaQueryList::setMatches(bool newValue)
|
|
|