Chromium Code Reviews| Index: third_party/WebKit/Source/bindings/templates/interface.cpp |
| diff --git a/third_party/WebKit/Source/bindings/templates/interface.cpp b/third_party/WebKit/Source/bindings/templates/interface.cpp |
| index 9fd8942c92d063f7d13f546f22809fc04357cb9a..80f3ed00d741a545284c8100922a5d4ee74eff4e 100644 |
| --- a/third_party/WebKit/Source/bindings/templates/interface.cpp |
| +++ b/third_party/WebKit/Source/bindings/templates/interface.cpp |
| @@ -697,7 +697,7 @@ void {{v8_class}}::constructorCallback(const v8::FunctionCallbackInfo<v8::Value> |
| {% set only_exposed_to_private_script = 'V8DOMConfiguration::OnlyExposedToPrivateScript' if method.only_exposed_to_private_script else 'V8DOMConfiguration::ExposedToAllScripts' %} |
| {% set holder_check = 'V8DOMConfiguration::CheckHolder' %} |
| const V8DOMConfiguration::AttributeConfiguration {{method.name}}OriginSafeAttributeConfiguration = { |
| - "{{method.name}}", {{getter_callback}}, {{setter_callback}}, {{getter_callback_for_main_world}}, {{setter_callback_for_main_world}}, nullptr, &{{v8_class}}::wrapperTypeInfo, v8::ALL_CAN_READ, {{property_attribute}}, {{only_exposed_to_private_script}}, {{property_location(method)}}, {{holder_check}}, |
| + "{{method.name}}", {{getter_callback}}, {{setter_callback}}, {{getter_callback_for_main_world}}, {{setter_callback_for_main_world}}, nullptr, 0, &{{v8_class}}::wrapperTypeInfo, v8::ALL_CAN_READ, {{property_attribute}}, {{only_exposed_to_private_script}}, {{property_location(method)}}, {{holder_check}}, |
|
jochen (gone - plz use gerrit)
2016/09/15 08:20:51
nullptr?
Alfonso
2016/09/16 14:21:48
Done.
|
| }; |
| V8DOMConfiguration::installAttribute(isolate, world, {{instance_template}}, {{prototype_template}}, {{method.name}}OriginSafeAttributeConfiguration); |
| {%- endmacro %} |