Index: Source/bindings/scripts/deprecated_code_generator_v8.pm |
diff --git a/Source/bindings/scripts/deprecated_code_generator_v8.pm b/Source/bindings/scripts/deprecated_code_generator_v8.pm |
index a8f0124f7e769205dd690942673d27aa8fd19499..eb21fe9ffe997155e55ecaeb32fbf8691a22951d 100644 |
--- a/Source/bindings/scripts/deprecated_code_generator_v8.pm |
+++ b/Source/bindings/scripts/deprecated_code_generator_v8.pm |
@@ -5155,7 +5155,7 @@ sub JSValueToNative |
if ($type eq "any" || IsCallbackFunctionType($type)) { |
AddToImplIncludes("bindings/v8/ScriptValue.h"); |
- return "ScriptValue($value)"; |
+ return "ScriptValue($value, $getIsolate)"; |
} |
if ($type eq "Promise") { |
@@ -5169,7 +5169,7 @@ sub JSValueToNative |
if ($type eq "MediaQueryListListener") { |
AddToImplIncludes("core/css/MediaQueryListListener.h"); |
- return "MediaQueryListListener::create(" . $value . ")"; |
+ return "MediaQueryListListener::create(ScriptValue(" . $value . ", $getIsolate))"; |
} |
if ($type eq "EventTarget") { |