| Index: third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl
|
| diff --git a/third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl b/third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl
|
| index 634910bded1901de56b61201e87020d81099dca7..0cd340856ada72b043aeee786839cdfc9a0c896c 100644
|
| --- a/third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl
|
| +++ b/third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl
|
| @@ -725,9 +725,7 @@ V8DOMConfiguration::installAttribute(isolate, world, {{instance_template}}, {{pr
|
| 'indexedPropertyEnumerator<%s>' % cpp_class
|
| if indexed_property_getter.is_enumerable else '0' %}
|
| {% set property_handler_flags =
|
| - 'v8::PropertyHandlerFlags::kAllCanRead'
|
| - if indexed_property_getter.do_not_check_security
|
| - else 'v8::PropertyHandlerFlags::kNone' %}
|
| + 'v8::PropertyHandlerFlags::kNone' %}
|
| v8::IndexedPropertyHandlerConfiguration indexedPropertyHandlerConfig({{indexed_property_getter_callback}}, {{indexed_property_setter_callback}}, {{indexed_property_query_callback}}, {{indexed_property_deleter_callback}}, {{indexed_property_enumerator_callback}}, v8::Local<v8::Value>(), {{property_handler_flags}});
|
| {{target}}->SetHandler(indexedPropertyHandlerConfig);
|
| {%- endmacro %}
|
| @@ -751,10 +749,6 @@ v8::IndexedPropertyHandlerConfiguration indexedPropertyHandlerConfig({{indexed_p
|
| if named_property_getter.is_enumerable else '0' %}
|
| {% set property_handler_flags_list =
|
| ['int(v8::PropertyHandlerFlags::kOnlyInterceptStrings)'] %}
|
| -{% if named_property_getter.do_not_check_security %}
|
| -{% set property_handler_flags_list =
|
| - property_handler_flags_list + ['int(v8::PropertyHandlerFlags::kAllCanRead)'] %}
|
| -{% endif %}
|
| {% if not is_override_builtins %}
|
| {% set property_handler_flags_list =
|
| property_handler_flags_list + ['int(v8::PropertyHandlerFlags::kNonMasking)'] %}
|
|
|