| Index: Source/core/css/MediaQueryListListener.cpp
|
| diff --git a/Source/core/css/MediaQueryListListener.cpp b/Source/core/css/MediaQueryListListener.cpp
|
| index b0d37160520074a615acb90cad53936b0843213d..66826b058c6b75f706366fc04d29dc7f52dfc645 100644
|
| --- a/Source/core/css/MediaQueryListListener.cpp
|
| +++ b/Source/core/css/MediaQueryListListener.cpp
|
| @@ -25,8 +25,8 @@
|
|
|
| namespace WebCore {
|
|
|
| -MediaQueryListListener::MediaQueryListListener(const ScriptValue& function)
|
| - : m_scriptState(ScriptState::current(function.isolate()))
|
| +MediaQueryListListener::MediaQueryListListener(ScriptState* scriptState, const ScriptValue& function)
|
| + : m_scriptState(scriptState)
|
| , m_function(function)
|
| {
|
| ASSERT(m_function.isFunction());
|
|
|