Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Unified Diff: third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl

Issue 2329463004: ABANDONED CL: Changes needed to make things compile after running rewrite_to_chrome_style tool. (Closed)
Patch Set: Rebasing the fixes... Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl
diff --git a/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl b/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl
index 0eaa7f59158be1e0b22cd1a606be20f4206ff8e8..47ce257c636f2aaaf0bdcf8cfed5492b7483d5e1 100644
--- a/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl
+++ b/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl
@@ -10,7 +10,7 @@ const v8::FunctionCallbackInfo<v8::Value>& info
{%- endif %}) {
{% filter format_remove_duplicates(['ExceptionState exceptionState']) %}
{% set define_exception_state -%}
- ExceptionState exceptionState(info.GetIsolate(), ExceptionState::GetterContext, "{{interface_name}}", "{{attribute.name}}");
+ ExceptionState exceptionState(info.GetIsolate(), ExceptionState::kGetterContext, "{{interface_name}}", "{{attribute.name}}");
{%- endset %}
{% if attribute.is_lenient_this %}
@@ -28,15 +28,15 @@ const v8::FunctionCallbackInfo<v8::Value>& info
// [SaveSameObject]
{% set same_object_private_key = interface_name + attribute.name[0]|capitalize + attribute.name[1:] %}
// If you see a compile error that
- // V8PrivateProperty::getSameObject{{same_object_private_key}}
+ // V8PrivateProperty::GetSameObject{{same_object_private_key}}
// is not defined, then you need to register your attribute at
// V8_PRIVATE_PROPERTY_FOR_EACH defined in V8PrivateProperty.h as
// X(SameObject, {{same_object_private_key}})
- auto privateSameObject = V8PrivateProperty::getSameObject{{same_object_private_key}}(info.GetIsolate());
+ auto privateSameObject = V8PrivateProperty::GetSameObject{{same_object_private_key}}(info.GetIsolate());
{
- v8::Local<v8::Value> v8Value = privateSameObject.get(info.GetIsolate()->GetCurrentContext(), holder);
+ v8::Local<v8::Value> v8Value = privateSameObject.Get(info.GetIsolate()->GetCurrentContext(), holder);
if (!v8Value.IsEmpty()) {
- v8SetReturnValue(info, v8Value);
+ V8SetReturnValue(info, v8Value);
return;
}
}
@@ -51,7 +51,7 @@ const v8::FunctionCallbackInfo<v8::Value>& info
// Same-origin attribute getters are never exposed via the cross-origin
// interceptors. Since same-origin access requires a LocalDOMWindow, it is
// safe to downcast here.
- LocalDOMWindow* impl = toLocalDOMWindow({{v8_class}}::toImpl(holder));
+ LocalDOMWindow* impl = ToLocalDOMWindow({{v8_class}}::toImpl(holder));
{% endif %}{# attribute.is_check_security_for_receiver #}
{% else %}
{{cpp_class}}* impl = {{v8_class}}::toImpl(holder);
@@ -60,11 +60,11 @@ const v8::FunctionCallbackInfo<v8::Value>& info
{% if attribute.cached_attribute_validation_method %}
// [CachedAttribute]
- v8::Local<v8::String> propertyName = v8AtomicString(info.GetIsolate(), "{{attribute.name}}");
+ v8::Local<v8::String> propertyName = V8AtomicString(info.GetIsolate(), "{{attribute.name}}");
if (!impl->{{attribute.cached_attribute_validation_method}}()) {
- v8::Local<v8::Value> v8Value = V8HiddenValue::getHiddenValue(ScriptState::forFunctionObject(info), holder, propertyName);
+ v8::Local<v8::Value> v8Value = V8HiddenValue::GetHiddenValue(ScriptState::ForFunctionObject(info), holder, propertyName);
if (!v8Value.IsEmpty() && !v8Value->IsUndefined()) {
- v8SetReturnValue(info, v8Value);
+ V8SetReturnValue(info, v8Value);
return;
}
}
@@ -74,35 +74,35 @@ const v8::FunctionCallbackInfo<v8::Value>& info
// Perform a security check for the receiver object.
{{define_exception_state}}
{% if local_dom_window_only %}
- if (!BindingSecurity::shouldAllowAccessTo(currentDOMWindow(info.GetIsolate()), uncheckedImpl, exceptionState)) {
+ if (!BindingSecurity::ShouldAllowAccessTo(CurrentDOMWindow(info.GetIsolate()), uncheckedImpl, exceptionState)) {
{% else %}
- if (!BindingSecurity::shouldAllowAccessTo(currentDOMWindow(info.GetIsolate()), impl, exceptionState)) {
+ if (!BindingSecurity::ShouldAllowAccessTo(CurrentDOMWindow(info.GetIsolate()), impl, exceptionState)) {
{% endif %}{# local_dom_window_only #}
- v8SetReturnValueNull(info);
+ V8SetReturnValueNull(info);
return;
}
{% if local_dom_window_only %}
- LocalDOMWindow* impl = toLocalDOMWindow(uncheckedImpl);
+ LocalDOMWindow* impl = ToLocalDOMWindow(uncheckedImpl);
{% endif %}{# local_dom_window_only #}
{% endif %}
{% if attribute.is_check_security_for_return_value %}
// Perform a security check for the returned object.
{{define_exception_state}}
- if (!BindingSecurity::shouldAllowAccessTo(currentDOMWindow(info.GetIsolate()), {{attribute.cpp_value}}, exceptionState)) {
- v8SetReturnValueNull(info);
+ if (!BindingSecurity::ShouldAllowAccessTo(CurrentDOMWindow(info.GetIsolate()), {{attribute.cpp_value}}, exceptionState)) {
+ V8SetReturnValueNull(info);
return;
}
{% endif %}
{% if attribute.is_call_with_execution_context %}
- ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate());
+ ExecutionContext* executionContext = CurrentExecutionContext(info.GetIsolate());
{% endif %}
{% if attribute.is_call_with_script_state %}
{% if attribute.is_static %}
- ScriptState* scriptState = ScriptState::forFunctionObject(info);
+ ScriptState* scriptState = ScriptState::ForFunctionObject(info);
{% else %}
- ScriptState* scriptState = ScriptState::forReceiverObject(info);
+ ScriptState* scriptState = ScriptState::ForReceiverObject(info);
{% endif %}
{% endif %}
{% if attribute.is_getter_raises_exception %}
@@ -122,7 +122,7 @@ const v8::FunctionCallbackInfo<v8::Value>& info
{% endif %}
{% if attribute.is_getter_raises_exception %}
- if (UNLIKELY(exceptionState.hadException()))
+ if (UNLIKELY(exceptionState.HadException()))
return;
{% endif %}
@@ -136,12 +136,12 @@ const v8::FunctionCallbackInfo<v8::Value>& info
{% if attribute.cached_attribute_validation_method %}
// [CachedAttribute]
v8::Local<v8::Value> v8Value({{attribute.cpp_value_to_v8_value}});
- V8HiddenValue::setHiddenValue(ScriptState::forFunctionObject(info), holder, propertyName, v8Value);
+ V8HiddenValue::SetHiddenValue(ScriptState::ForFunctionObject(info), holder, propertyName, v8Value);
{% endif %}
{% if attribute.is_explicit_nullable %}
if (isNull) {
- v8SetReturnValueNull(info);
+ V8SetReturnValueNull(info);
return;
}
{% endif %}
@@ -149,11 +149,11 @@ const v8::FunctionCallbackInfo<v8::Value>& info
{% if attribute.is_keep_alive_for_gc %}
// Keep the wrapper object for the return value alive as long as |this|
// object is alive in order to save creation time of the wrapper object.
- if ({{attribute.cpp_value}} && DOMDataStore::setReturnValue{{world_suffix}}(info.GetReturnValue(), {{attribute.cpp_value}}))
+ if ({{attribute.cpp_value}} && DOMDataStore::SetReturnValue{{world_suffix}}(info.GetReturnValue(), {{attribute.cpp_value}}))
return;
v8::Local<v8::Value> v8Value(ToV8({{attribute.cpp_value}}, holder, info.GetIsolate()));
const char kKeepAliveKey[] = "KeepAlive#{{interface_name}}#{{attribute.name}}";
- V8HiddenValue::setHiddenValue(ScriptState::current(info.GetIsolate()), holder, v8AtomicString(info.GetIsolate(), StringView(kKeepAliveKey, sizeof kKeepAliveKey)), v8Value);
+ V8HiddenValue::SetHiddenValue(ScriptState::Current(info.GetIsolate()), holder, V8AtomicString(info.GetIsolate(), StringView(kKeepAliveKey, sizeof kKeepAliveKey)), v8Value);
{% endif %}
{% if world_suffix %}
@@ -164,7 +164,7 @@ const v8::FunctionCallbackInfo<v8::Value>& info
{% if attribute.is_save_same_object %}
// [SaveSameObject]
- privateSameObject.set(info.GetIsolate()->GetCurrentContext(), holder, info.GetReturnValue().Get());
+ privateSameObject.Set(info.GetIsolate()->GetCurrentContext(), holder, info.GetReturnValue().Get());
{% endif %}
{% endfilter %}{# format_remove_duplicates #}
}
@@ -178,16 +178,16 @@ const v8::FunctionCallbackInfo<v8::Value>& info
one of those. If not, set it to the empty string.
http://www.whatwg.org/specs/web-apps/current-work/#limited-to-only-known-values #}
{% if reflect_empty %}
-if ({{cpp_value}}.isNull()) {
+if ({{cpp_value}}.IsNull()) {
{% if reflect_missing %}
{{cpp_value}} = "{{reflect_missing}}";
{% else %}
;
{% endif %}
-} else if ({{cpp_value}}.isEmpty()) {
+} else if ({{cpp_value}}.IsEmpty()) {
{{cpp_value}} = "{{reflect_empty}}";
{% else %}
-if ({{cpp_value}}.isEmpty()) {
+if ({{cpp_value}}.IsEmpty()) {
{# FIXME: should use [ReflectEmpty] instead; need to change IDL files #}
{% if reflect_missing %}
{{cpp_value}} = "{{reflect_missing}}";
@@ -196,7 +196,7 @@ if ({{cpp_value}}.isEmpty()) {
{% endif %}
{% endif %}
{% for value in reflect_only_values %}
-} else if (equalIgnoringASCIICase({{cpp_value}}, "{{value}}")) {
+} else if (EqualIgnoringASCIICase({{cpp_value}}, "{{value}}")) {
{{cpp_value}} = "{{value}}";
{% endfor %}
} else {
@@ -214,26 +214,26 @@ v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>& info
const v8::FunctionCallbackInfo<v8::Value>& info
{%- endif %}) {
{% if attribute.deprecate_as %}
- Deprecation::countDeprecation(currentExecutionContext(info.GetIsolate()), UseCounter::{{attribute.deprecate_as}});
+ Deprecation::CountDeprecation(CurrentExecutionContext(info.GetIsolate()), UseCounter::k{{attribute.deprecate_as}});
{% endif %}
{% if attribute.measure_as %}
- UseCounter::count(currentExecutionContext(info.GetIsolate()), UseCounter::{{attribute.measure_as('AttributeGetter')}});
+ UseCounter::Count(CurrentExecutionContext(info.GetIsolate()), UseCounter::k{{attribute.measure_as('AttributeGetter')}});
{% endif %}
{% if world_suffix in attribute.activity_logging_world_list_for_getter %}
{% if attribute.is_static %}
- ScriptState* scriptState = ScriptState::forFunctionObject(info);
+ ScriptState* scriptState = ScriptState::ForFunctionObject(info);
{% else %}
- ScriptState* scriptState = ScriptState::forReceiverObject(info);
+ ScriptState* scriptState = ScriptState::ForReceiverObject(info);
{% endif %}
- V8PerContextData* contextData = scriptState->perContextData();
+ V8PerContextData* contextData = scriptState->PerContextData();
if (
{%- if attribute.activity_logging_world_check -%}
- scriptState->world().isIsolatedWorld() && {# one space at the end #}
+ scriptState->World().IsIsolatedWorld() && {# one space at the end #}
{%- endif -%}
- contextData && contextData->activityLogger()) {
- contextData->activityLogger()->logGetter("{{interface_name}}.{{attribute.name}}");
+ contextData && contextData->ActivityLogger()) {
+ contextData->ActivityLogger()->LogGetter("{{interface_name}}.{{attribute.name}}");
}
{% endif %}
@@ -250,7 +250,7 @@ const v8::FunctionCallbackInfo<v8::Value>& info
{% macro attribute_cache_property_callback(attribute) %}
v8::Local<v8::Private> {{v8_class_or_partial}}::{{attribute.name}}CachedAccessorCallback(v8::Isolate* isolate)
{
- return V8PrivateProperty::get{{attribute.cached_accessor_name}}(isolate).getPrivate();
+ return V8PrivateProperty::Get{{attribute.cached_accessor_name}}(isolate).GetPrivate();
}
{% endmacro %}
@@ -259,14 +259,14 @@ v8::Local<v8::Private> {{v8_class_or_partial}}::{{attribute.name}}CachedAccessor
{% macro constructor_getter_callback(attribute, world_suffix) %}
void {{v8_class_or_partial}}::{{attribute.name}}ConstructorGetterCallback{{world_suffix}}(v8::Local<v8::Name> property, const v8::PropertyCallbackInfo<v8::Value>& info) {
{% if attribute.deprecate_as %}
- Deprecation::countDeprecation(currentExecutionContext(info.GetIsolate()), UseCounter::{{attribute.deprecate_as}});
+ Deprecation::CountDeprecation(CurrentExecutionContext(info.GetIsolate()), UseCounter::k{{attribute.deprecate_as}});
{% endif %}
{% if attribute.measure_as %}
- UseCounter::count(currentExecutionContext(info.GetIsolate()), UseCounter::{{attribute.measure_as('ConstructorGetter')}});
+ UseCounter::Count(CurrentExecutionContext(info.GetIsolate()), UseCounter::k{{attribute.measure_as('ConstructorGetter')}});
{% endif %}
- v8ConstructorAttributeGetter(property, info);
+ V8ConstructorAttributeGetter(property, info);
}
{% endmacro %}
@@ -283,7 +283,7 @@ v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info
{%- endif %}) {
{% filter format_remove_duplicates(['ExceptionState exceptionState']) %}
{% set define_exception_state -%}
- ExceptionState exceptionState(info.GetIsolate(), ExceptionState::SetterContext, "{{interface_name}}", "{{attribute.name}}");
+ ExceptionState exceptionState(info.GetIsolate(), ExceptionState::kSetterContext, "{{interface_name}}", "{{attribute.name}}");
{%- endset %}
{% if attribute.is_lenient_this %}
@@ -297,7 +297,7 @@ v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info
v8::Local<v8::Object> holder = info.Holder();
{% if attribute.is_put_forwards %}
{{cpp_class}}* proxyImpl = {{v8_class}}::toImpl(holder);
- {{attribute.cpp_type}} impl = WTF::getPtr(proxyImpl->{{attribute.name}}());
+ {{attribute.cpp_type}} impl = WTF::GetPtr(proxyImpl->{{attribute.name}}());
if (!impl)
return;
{% else %}
@@ -309,7 +309,7 @@ v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info
// Same-origin attributes setters are never exposed via the cross-origin
// interceptors. Since same-origin access requires a LocalDOMWindow, it is
// safe to downcast here.
- LocalDOMWindow* impl = toLocalDOMWindow({{v8_class}}::toImpl(holder));
+ LocalDOMWindow* impl = ToLocalDOMWindow({{v8_class}}::toImpl(holder));
{% endif %}{# attribute.is_check_security_for_receiver #}
{% else %}
{{cpp_class}}* impl = {{v8_class}}::toImpl(holder);
@@ -321,15 +321,15 @@ v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info
// Perform a security check for the receiver object.
{{define_exception_state}}
{% if local_dom_window_only %}
- if (!BindingSecurity::shouldAllowAccessTo(currentDOMWindow(info.GetIsolate()), uncheckedImpl, exceptionState)) {
+ if (!BindingSecurity::ShouldAllowAccessTo(CurrentDOMWindow(info.GetIsolate()), uncheckedImpl, exceptionState)) {
{% else %}
- if (!BindingSecurity::shouldAllowAccessTo(currentDOMWindow(info.GetIsolate()), impl, exceptionState)) {
+ if (!BindingSecurity::ShouldAllowAccessTo(CurrentDOMWindow(info.GetIsolate()), impl, exceptionState)) {
{% endif %}{# local_dom_window_only #}
- v8SetReturnValue(info, v8Value);
+ V8SetReturnValue(info, v8Value);
return;
}
{% if local_dom_window_only %}
- LocalDOMWindow* impl = toLocalDOMWindow(uncheckedImpl);
+ LocalDOMWindow* impl = ToLocalDOMWindow(uncheckedImpl);
{% endif %}{# local_dom_window_only #}
{% endif %}
@@ -350,7 +350,7 @@ v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info
// Prepare the value to be set.
{% if attribute.idl_type == 'EventHandler' %}
{% if not is_node %}
- moveEventListenerToNewWrapper(info.GetIsolate(), holder, {{attribute.event_handler_getter_expression}}, v8Value, {{v8_class}}::eventListenerCacheIndex);
+ MoveEventListenerToNewWrapper(info.GetIsolate(), holder, {{attribute.event_handler_getter_expression}}, v8Value, {{v8_class}}::eventListenerCacheIndex);
{% endif %}
{% else %}{# not EventHandler #}
{{v8_value_to_local_cpp_value(attribute) | indent(2)}}
@@ -358,8 +358,8 @@ v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info
{% if attribute.has_type_checking_interface %}
// Type check per: http://heycam.github.io/webidl/#es-interface
- if (!cppValue{% if attribute.is_nullable %} && !isUndefinedOrNull(v8Value){% endif %}) {
- exceptionState.throwTypeError("The provided value is not of type '{{attribute.idl_type}}'.");
+ if (!cppValue{% if attribute.is_nullable %} && !IsUndefinedOrNull(v8Value){% endif %}) {
+ exceptionState.ThrowTypeError("The provided value is not of type '{{attribute.idl_type}}'.");
return;
}
{% endif %}
@@ -369,33 +369,33 @@ v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info
// Returns undefined without setting the value if the value is invalid.
DummyExceptionStateForTesting dummyExceptionState;
{{declare_enum_validation_variable(attribute.enum_values) | indent(2)}}
- if (!isValidEnum(cppValue, validValues, WTF_ARRAY_LENGTH(validValues), "{{attribute.enum_type}}", dummyExceptionState)) {
- currentExecutionContext(info.GetIsolate())->addConsoleMessage(ConsoleMessage::create(JSMessageSource, WarningMessageLevel, dummyExceptionState.message()));
+ if (!IsValidEnum(cppValue, validValues, WTF_ARRAY_LENGTH(validValues), "{{attribute.enum_type}}", dummyExceptionState)) {
+ CurrentExecutionContext(info.GetIsolate())->AddConsoleMessage(ConsoleMessage::Create(kJSMessageSource, kWarningMessageLevel, dummyExceptionState.Message()));
return;
}
{% endif %}
{% if attribute.is_call_with_execution_context or attribute.is_setter_call_with_execution_context %}
- ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate());
+ ExecutionContext* executionContext = CurrentExecutionContext(info.GetIsolate());
{% endif %}
{% if attribute.is_call_with_script_state %}
{% if attribute.is_static %}
- ScriptState* scriptState = ScriptState::forFunctionObject(info);
+ ScriptState* scriptState = ScriptState::ForFunctionObject(info);
{% else %}
- ScriptState* scriptState = ScriptState::forReceiverObject(info);
+ ScriptState* scriptState = ScriptState::ForReceiverObject(info);
{% endif %}
{% endif %}
{% if attribute.is_replaceable %}
- v8::Local<v8::String> propertyName = v8AtomicString(info.GetIsolate(), "{{attribute.name}}");
+ v8::Local<v8::String> propertyName = V8AtomicString(info.GetIsolate(), "{{attribute.name}}");
{% endif %}
{{attribute.cpp_setter}};
{% if attribute.cached_attribute_validation_method %}
// [CachedAttribute]
// Invalidate the cached value.
- V8HiddenValue::deleteHiddenValue(ScriptState::forFunctionObject(info), holder, v8AtomicString(info.GetIsolate(), "{{attribute.name}}"));
+ V8HiddenValue::DeleteHiddenValue(ScriptState::ForFunctionObject(info), holder, V8AtomicString(info.GetIsolate(), "{{attribute.name}}"));
{% endif %}
}
{% endfilter %}{# format_remove_duplicates #}
@@ -415,26 +415,26 @@ const v8::FunctionCallbackInfo<v8::Value>& info
{% endif %}
{% if attribute.deprecate_as %}
- Deprecation::countDeprecation(currentExecutionContext(info.GetIsolate()), UseCounter::{{attribute.deprecate_as}});
+ Deprecation::CountDeprecation(CurrentExecutionContext(info.GetIsolate()), UseCounter::k{{attribute.deprecate_as}});
{% endif %}
{% if attribute.measure_as %}
- UseCounter::count(currentExecutionContext(info.GetIsolate()), UseCounter::{{attribute.measure_as('AttributeSetter')}});
+ UseCounter::Count(CurrentExecutionContext(info.GetIsolate()), UseCounter::k{{attribute.measure_as('AttributeSetter')}});
{% endif %}
{% if world_suffix in attribute.activity_logging_world_list_for_setter %}
{% if attribute.is_static %}
- ScriptState* scriptState = ScriptState::forFunctionObject(info);
+ ScriptState* scriptState = ScriptState::ForFunctionObject(info);
{% else %}
- ScriptState* scriptState = ScriptState::forReceiverObject(info);
+ ScriptState* scriptState = ScriptState::ForReceiverObject(info);
{% endif %}
- V8PerContextData* contextData = scriptState->perContextData();
+ V8PerContextData* contextData = scriptState->PerContextData();
if (
{%- if attribute.activity_logging_world_check -%}
- scriptState->world().isIsolatedWorld() && {# one space at the end #}
+ scriptState->World().IsIsolatedWorld() && {# one space at the end #}
{%- endif -%}
- contextData && contextData->activityLogger()) {
- contextData->activityLogger()->logSetter("{{interface_name}}.{{attribute.name}}", v8Value);
+ contextData && contextData->ActivityLogger()) {
+ contextData->ActivityLogger()->LogSetter("{{interface_name}}.{{attribute.name}}", v8Value);
}
{% endif %}
@@ -464,7 +464,7 @@ const v8::FunctionCallbackInfo<v8::Value>& info
{% set getter_callback =
'%s::%sConstructorGetterCallback' % (v8_class_or_partial, attribute.name)
if attribute.needs_constructor_getter_callback else
- 'v8ConstructorAttributeGetter' %}
+ 'V8ConstructorAttributeGetter' %}
{% set setter_callback = 'nullptr' %}
{% else %}{# regular attributes #}
{% set getter_callback = '%s::%sAttributeGetterCallback' %
@@ -488,8 +488,8 @@ const v8::FunctionCallbackInfo<v8::Value>& info
'%s::%sCachedAccessorCallback' % (v8_class_or_partial, attribute.name)
if attribute.is_cached_accessor else
'nullptr' %}
-{% set holder_check = 'V8DOMConfiguration::DoNotCheckHolder'
- if attribute.is_lenient_this else 'V8DOMConfiguration::CheckHolder' %}
+{% set holder_check = 'V8DOMConfiguration::kDoNotCheckHolder'
+ if attribute.is_lenient_this else 'V8DOMConfiguration::kCheckHolder' %}
{% set attribute_configuration_list = [
'"%s"' % attribute.name,
getter_callback,

Powered by Google App Engine
This is Rietveld 408576698