Index: Source/bindings/scripts/v8_types.py |
diff --git a/Source/bindings/scripts/v8_types.py b/Source/bindings/scripts/v8_types.py |
index 49a8e500054e79c56ca5c960e5778b88915c5632..cae0e8926a7013adb0674d7e7833f28957ce5f8d 100644 |
--- a/Source/bindings/scripts/v8_types.py |
+++ b/Source/bindings/scripts/v8_types.py |
@@ -591,8 +591,8 @@ V8_SET_RETURN_VALUE = { |
'ScriptValue': 'v8SetReturnValue(info, {cpp_value})', |
'SerializedScriptValue': 'v8SetReturnValue(info, {cpp_value})', |
# DOMWrapper |
- 'DOMWrapperForMainWorld': 'v8SetReturnValueForMainWorld(info, {cpp_value})', |
- 'DOMWrapperFast': 'v8SetReturnValueFast(info, {cpp_value}, {script_wrappable})', |
+ 'DOMWrapperForMainWorld': 'v8SetReturnValueForMainWorld(info, WTF::getPtr({cpp_value}))', |
+ 'DOMWrapperFast': 'v8SetReturnValueFast(info, WTF::getPtr({cpp_value}), {script_wrappable})', |
'DOMWrapperDefault': 'v8SetReturnValue(info, {cpp_value})', |
} |