| Index: tools/dom/scripts/systemnative.py
|
| diff --git a/tools/dom/scripts/systemnative.py b/tools/dom/scripts/systemnative.py
|
| index 8dbe0e224ec7e1724b57227cbb913930aee21c5a..84f1cbc1e1d8de0fc0e2895497bda556222b982f 100644
|
| --- a/tools/dom/scripts/systemnative.py
|
| +++ b/tools/dom/scripts/systemnative.py
|
| @@ -737,7 +737,6 @@ class DartiumBackend(HtmlDartGenerator):
|
| cpp_arguments = []
|
| runtime_check = None
|
| raises_exceptions = raises_dom_exception or arguments
|
| - needs_custom_element_callbacks = False
|
|
|
| # TODO(antonm): unify with ScriptState below.
|
| requires_stack_info = (ext_attrs.get('CallWith') == 'ScriptArguments|ScriptState' or
|
| @@ -789,10 +788,6 @@ class DartiumBackend(HtmlDartGenerator):
|
| if 'Reflect' in ext_attrs:
|
| cpp_arguments = [self._GenerateWebCoreReflectionAttributeName(node)]
|
|
|
| - if ext_attrs.get('CustomElementCallbacks') == 'Enable':
|
| - self._cpp_impl_includes.add('"core/dom/CustomElementCallbackDispatcher.h"')
|
| - needs_custom_element_callbacks = True
|
| -
|
| if return_type_is_nullable:
|
| cpp_arguments = ['isNull']
|
|
|
| @@ -915,9 +910,6 @@ class DartiumBackend(HtmlDartGenerator):
|
| ' return;\n',
|
| INDEX=len(arguments) + 1)
|
|
|
| - if needs_custom_element_callbacks:
|
| - body_emitter.Emit(' CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope;\n');
|
| -
|
| # Emit arguments.
|
| start_index = 1 if needs_receiver else 0
|
| for i, argument in enumerate(arguments):
|
|
|