Commit c4e107b2 authored by verwaest's avatar verwaest Committed by Commit bot

Remove explicit v8::DEFAULT argument to SetAccessorProperty and SetNativeDataProperty

BUG=

Review-Url: https://codereview.chromium.org/2844993005
Cr-Commit-Position: refs/heads/master@{#467959}
parent 17cb970f
...@@ -73,14 +73,14 @@ void InstallAttributeInternal( ...@@ -73,14 +73,14 @@ void InstallAttributeInternal(
instance_template->SetNativeDataProperty( instance_template->SetNativeDataProperty(
name, getter, setter, data, name, getter, setter, data,
static_cast<v8::PropertyAttribute>(attribute.attribute), static_cast<v8::PropertyAttribute>(attribute.attribute),
v8::Local<v8::AccessorSignature>(), v8::DEFAULT); v8::Local<v8::AccessorSignature>());
} }
if (attribute.property_location_configuration & if (attribute.property_location_configuration &
V8DOMConfiguration::kOnPrototype) { V8DOMConfiguration::kOnPrototype) {
prototype_template->SetNativeDataProperty( prototype_template->SetNativeDataProperty(
name, getter, setter, data, name, getter, setter, data,
static_cast<v8::PropertyAttribute>(attribute.attribute), static_cast<v8::PropertyAttribute>(attribute.attribute),
v8::Local<v8::AccessorSignature>(), v8::DEFAULT); v8::Local<v8::AccessorSignature>());
} }
if (attribute.property_location_configuration & if (attribute.property_location_configuration &
V8DOMConfiguration::kOnInterface) V8DOMConfiguration::kOnInterface)
...@@ -254,13 +254,13 @@ void InstallAccessorInternal( ...@@ -254,13 +254,13 @@ void InstallAccessorInternal(
V8DOMConfiguration::kOnInstance) { V8DOMConfiguration::kOnInstance) {
instance_or_template->SetAccessorProperty( instance_or_template->SetAccessorProperty(
name, getter, setter, name, getter, setter,
static_cast<v8::PropertyAttribute>(accessor.attribute), v8::DEFAULT); static_cast<v8::PropertyAttribute>(accessor.attribute));
} }
if (accessor.property_location_configuration & if (accessor.property_location_configuration &
V8DOMConfiguration::kOnPrototype) { V8DOMConfiguration::kOnPrototype) {
prototype_or_template->SetAccessorProperty( prototype_or_template->SetAccessorProperty(
name, getter, setter, name, getter, setter,
static_cast<v8::PropertyAttribute>(accessor.attribute), v8::DEFAULT); static_cast<v8::PropertyAttribute>(accessor.attribute));
} }
} }
if (accessor.property_location_configuration & if (accessor.property_location_configuration &
...@@ -278,7 +278,7 @@ void InstallAccessorInternal( ...@@ -278,7 +278,7 @@ void InstallAccessorInternal(
1); 1);
interface_or_template->SetAccessorProperty( interface_or_template->SetAccessorProperty(
name, getter, setter, name, getter, setter,
static_cast<v8::PropertyAttribute>(accessor.attribute), v8::DEFAULT); static_cast<v8::PropertyAttribute>(accessor.attribute));
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment