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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.cpp

Issue 2844993005: Remove explicit v8::DEFAULT argument to SetAccessorProperty and SetNativeDataProperty (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.cpp b/third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.cpp
index 5c35cc01aad088b6736f297559db5aff0425a197..64ae1f846a5223c03719cc644e5b850749c2c1a3 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.cpp
@@ -73,14 +73,14 @@ void InstallAttributeInternal(
instance_template->SetNativeDataProperty(
name, getter, setter, data,
static_cast<v8::PropertyAttribute>(attribute.attribute),
- v8::Local<v8::AccessorSignature>(), v8::DEFAULT);
+ v8::Local<v8::AccessorSignature>());
}
if (attribute.property_location_configuration &
V8DOMConfiguration::kOnPrototype) {
prototype_template->SetNativeDataProperty(
name, getter, setter, data,
static_cast<v8::PropertyAttribute>(attribute.attribute),
- v8::Local<v8::AccessorSignature>(), v8::DEFAULT);
+ v8::Local<v8::AccessorSignature>());
}
if (attribute.property_location_configuration &
V8DOMConfiguration::kOnInterface)
@@ -254,13 +254,13 @@ void InstallAccessorInternal(
V8DOMConfiguration::kOnInstance) {
instance_or_template->SetAccessorProperty(
name, getter, setter,
- static_cast<v8::PropertyAttribute>(accessor.attribute), v8::DEFAULT);
+ static_cast<v8::PropertyAttribute>(accessor.attribute));
}
if (accessor.property_location_configuration &
V8DOMConfiguration::kOnPrototype) {
prototype_or_template->SetAccessorProperty(
name, getter, setter,
- static_cast<v8::PropertyAttribute>(accessor.attribute), v8::DEFAULT);
+ static_cast<v8::PropertyAttribute>(accessor.attribute));
}
}
if (accessor.property_location_configuration &
@@ -278,7 +278,7 @@ void InstallAccessorInternal(
1);
interface_or_template->SetAccessorProperty(
name, getter, setter,
- static_cast<v8::PropertyAttribute>(accessor.attribute), v8::DEFAULT);
+ static_cast<v8::PropertyAttribute>(accessor.attribute));
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698