Index: Source/core/css/MediaQueryListListener.cpp |
diff --git a/Source/core/css/MediaQueryListListener.cpp b/Source/core/css/MediaQueryListListener.cpp |
index 36bf5c47f4adbd805d05c9596808d2ac770194e0..494883e7ed8d262024155d64bf7e25d5d867b315 100644 |
--- a/Source/core/css/MediaQueryListListener.cpp |
+++ b/Source/core/css/MediaQueryListListener.cpp |
@@ -35,7 +35,7 @@ void MediaQueryListListener::queryChanged(ScriptState* state, MediaQueryList* qu |
return; // JS may not be enabled. |
v8::Context::Scope scope(context); |
- callback.appendArgument(toV8(query, v8::Handle<v8::Object>(), context->GetIsolate())); |
+ callback.appendArgument(ScriptValue(toV8(query, v8::Handle<v8::Object>(), context->GetIsolate()), context->GetIsolate())); |
callback.call(); |
} |