| Index: Source/bindings/scripts/v8_attributes.py
|
| diff --git a/Source/bindings/scripts/v8_attributes.py b/Source/bindings/scripts/v8_attributes.py
|
| index c9d64402af6f4b457c2bf1ca0e35970a4825b631..363217e7f8a9f6174593895e1f5624f0a14190b6 100644
|
| --- a/Source/bindings/scripts/v8_attributes.py
|
| +++ b/Source/bindings/scripts/v8_attributes.py
|
| @@ -170,7 +170,7 @@ def getter_context(interface, attribute, context):
|
| # FIXME: check if compilers are smart enough to inline this, and if so,
|
| # always use a local variable (for readability and CG simplicity).
|
| release = False
|
| - if (idl_type.is_nullable or
|
| + if ((idl_type.is_nullable and not context['is_nullable_simple']) or
|
| base_idl_type == 'EventHandler' or
|
| 'CachedAttribute' in extended_attributes or
|
| 'ReflectOnly' in extended_attributes or
|
|
|