| Index: Source/bindings/scripts/code_generator_v8.pm
|
| diff --git a/Source/bindings/scripts/code_generator_v8.pm b/Source/bindings/scripts/code_generator_v8.pm
|
| index 12de7e5f89da407c6387d8782764f2c0819c1820..febcd983101190e685b9440d7e9b68af87cd7693 100644
|
| --- a/Source/bindings/scripts/code_generator_v8.pm
|
| +++ b/Source/bindings/scripts/code_generator_v8.pm
|
| @@ -1727,15 +1727,8 @@ sub GenerateCustomElementInvocationScopeIfNeeded
|
| {
|
| my $code = "";
|
| my $ext = shift;
|
| - my $annotation = $ext->{"CustomElementCallbacks"} || "";
|
|
|
| - if ($annotation eq "None") {
|
| - # Explicit CustomElementCallbacks=None overrides any other
|
| - # heuristic.
|
| - return $code;
|
| - }
|
| -
|
| - if ($annotation eq "Enable" or $ext->{"Reflect"}) {
|
| + if ($ext->{"CustomElementCallbacks"} or $ext->{"Reflect"}) {
|
| AddToImplIncludes("core/dom/custom/CustomElementCallbackDispatcher.h");
|
| $code .= <<END;
|
| CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope;
|
|
|