| 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 a72b5c2b9b2119c6055555cd6d196b8010f4b03f..0d3e5f09f1c307c70f3fbf3e85248807ba4a1a61 100644
|
| --- a/third_party/WebKit/Source/bindings/templates/interface.h.tmpl
|
| +++ b/third_party/WebKit/Source/bindings/templates/interface.h.tmpl
|
| @@ -38,7 +38,7 @@ class {{v8_class}} {
|
| {{exported}}static v8::Local<v8::FunctionTemplate> domTemplateForNamedPropertiesObject(v8::Isolate*, const DOMWrapperWorld&);
|
| {% endif %}
|
| static {{cpp_class}}* toImpl(v8::Local<v8::Object> object) {
|
| - return toScriptWrappable(object)->toImpl<{{cpp_class}}>();
|
| + return ToScriptWrappable(object)->ToImpl<{{cpp_class}}>();
|
| }
|
| {% endif %}
|
| {{exported}}static {{cpp_class}}* toImplWithTypeCheck(v8::Isolate*, v8::Local<v8::Value>);
|
| @@ -47,11 +47,11 @@ class {{v8_class}} {
|
| {% else %}
|
| {{exported}}static const WrapperTypeInfo wrapperTypeInfo;
|
| {% endif %}
|
| - static void trace(Visitor* visitor, ScriptWrappable* scriptWrappable) {
|
| - visitor->trace(scriptWrappable->toImpl<{{cpp_class}}>());
|
| + static void Trace(Visitor* visitor, ScriptWrappable* scriptWrappable) {
|
| + visitor->Trace(scriptWrappable->ToImpl<{{cpp_class}}>());
|
| }
|
| - static void traceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWrappable) {
|
| - visitor->traceWrappers(scriptWrappable->toImpl<{{cpp_class}}>());
|
| + static void TraceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWrappable) {
|
| + visitor->TraceWrappers(scriptWrappable->ToImpl<{{cpp_class}}>());
|
| }
|
| {% for method in methods %}
|
| {% if method.is_custom %}
|
| @@ -119,7 +119,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.
|
| @@ -127,7 +127,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) %}
|
|
|