Index: Source/bindings/scripts/v8_methods.py |
diff --git a/Source/bindings/scripts/v8_methods.py b/Source/bindings/scripts/v8_methods.py |
index 2cbf6e2ac0b6e601aee6a7fc84547eca1e08b7b5..f1817710dd886b7a4bbc53a05e037035a1d1c41a 100644 |
--- a/Source/bindings/scripts/v8_methods.py |
+++ b/Source/bindings/scripts/v8_methods.py |
@@ -294,8 +294,7 @@ def cpp_value(interface, method, number_of_arguments): |
return argument.name |
if idl_type.is_dictionary: |
return '*%s' % argument.name |
- if (idl_type.is_callback_interface or |
- idl_type.name in ['NodeFilter', 'NodeFilterOrNull', |
+ if (idl_type.name in ['NodeFilter', 'NodeFilterOrNull', |
'XPathNSResolver', 'XPathNSResolverOrNull']): |
# FIXME: remove this special case |
return '%s.release()' % argument.name |