| Index: third_party/WebKit/Source/bindings/templates/interface.h.tmpl
|
| diff --git a/third_party/WebKit/Source/bindings/templates/interface.h.tmpl b/third_party/WebKit/Source/bindings/templates/interface.h.tmpl
|
| index e72747618e3b6dcd3e45258aa294dcd8ac9aa79d..382a91bcffa5792762048e089c249e4be87c424b 100644
|
| --- a/third_party/WebKit/Source/bindings/templates/interface.h.tmpl
|
| +++ b/third_party/WebKit/Source/bindings/templates/interface.h.tmpl
|
| @@ -126,7 +126,7 @@ class {{v8_class}} {
|
| {% set custom_internal_field_counter = 0 %}
|
| {% if is_event_target and not is_node %}
|
| {# Event listeners on DOM nodes are explicitly supported in the GC controller. #}
|
| - static const int eventListenerCacheIndex = v8DefaultWrapperInternalFieldCount + {{custom_internal_field_counter}};
|
| + static const int eventListenerCacheIndex = kV8DefaultWrapperInternalFieldCount + {{custom_internal_field_counter}};
|
| {% set custom_internal_field_counter = custom_internal_field_counter + 1 %}
|
| {% endif %}
|
| {# persistentHandleIndex must be the last field, if it is present.
|
| @@ -134,7 +134,7 @@ class {{v8_class}} {
|
| FIXME: Remove this internal field, and share one field for either:
|
| * a persistent handle (if the object is in oilpan) or
|
| * a C++ pointer to the DOM object (if the object is not in oilpan) #}
|
| - static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + {{custom_internal_field_counter}};
|
| + static const int internalFieldCount = kV8DefaultWrapperInternalFieldCount + {{custom_internal_field_counter}};
|
| {# End custom internal fields #}
|
| {% if unscopables or has_conditional_attributes_on_prototype or
|
| methods | conditionally_exposed(is_partial) %}
|
|
|