Chromium Code Reviews| Index: Source/bindings/templates/methods.cpp |
| diff --git a/Source/bindings/templates/methods.cpp b/Source/bindings/templates/methods.cpp |
| index 94b70730869b707916dfc76315938738c13565d4..edb2bbd9abc0d1f7125a2711b9907194c81f98fd 100644 |
| --- a/Source/bindings/templates/methods.cpp |
| +++ b/Source/bindings/templates/methods.cpp |
| @@ -109,7 +109,7 @@ if (UNLIKELY(info.Length() <= {{argument.index}})) { |
| return; |
| } |
| {% endif %} |
| -{% if argument.has_type_checking_interface and not argument.is_variadic_wrapper_type %} |
| +{% if argument.has_type_checking_interface and not argument.is_variadic_wrapper_type and not argument.type_checked_already %} |
|
Nils Barth (inactive)
2014/10/13 14:36:57
Line break please.
yunchao
2014/10/14 06:58:49
Done.
|
| {# Type checking for wrapper interface types (if interface not implemented, |
| throw a TypeError), per http://www.w3.org/TR/WebIDL/#es-interface |
| Note: for variadic arguments, the type checking is done for each matched |