Index: Source/bindings/tests/results/core/V8SVGTestInterface.cpp |
diff --git a/Source/bindings/tests/results/core/V8SVGTestInterface.cpp b/Source/bindings/tests/results/core/V8SVGTestInterface.cpp |
index 22c1ae8a9dc21f2fe84d9a1fef8076af7e23594b..d8a4f4d23b259a9f2e234cbb7da31fff31030c6b 100644 |
--- a/Source/bindings/tests/results/core/V8SVGTestInterface.cpp |
+++ b/Source/bindings/tests/results/core/V8SVGTestInterface.cpp |
@@ -31,21 +31,21 @@ const WrapperTypeInfo& SVGTestInterface::s_wrapperTypeInfo = V8SVGTestInterface: |
namespace SVGTestInterfaceV8Internal { |
-static void typeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) |
+static void typeAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
v8::Local<v8::Object> holder = info.Holder(); |
SVGTestInterface* impl = V8SVGTestInterface::toImpl(holder); |
v8SetReturnValueString(info, impl->fastGetAttribute(SVGNames::typeAttr), info.GetIsolate()); |
} |
-static void typeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
+static void typeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); |
SVGTestInterfaceV8Internal::typeAttributeGetter(info); |
TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
} |
-static void typeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
+static void typeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
v8::Local<v8::Object> holder = info.Holder(); |
SVGTestInterface* impl = V8SVGTestInterface::toImpl(holder); |
@@ -56,8 +56,9 @@ static void typeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::Property |
impl->setAttribute(SVGNames::typeAttr, cppValue); |
} |
-static void typeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
+static void typeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
+ v8::Local<v8::Value> v8Value = info[0]; |
TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); |
CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
SVGTestInterfaceV8Internal::typeAttributeSetter(v8Value, info); |
@@ -66,8 +67,8 @@ static void typeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Val |
} // namespace SVGTestInterfaceV8Internal |
-static const V8DOMConfiguration::AttributeConfiguration V8SVGTestInterfaceAttributes[] = { |
- {"type", SVGTestInterfaceV8Internal::typeAttributeGetterCallback, SVGTestInterfaceV8Internal::typeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
+static const V8DOMConfiguration::AccessorConfiguration V8SVGTestInterfaceAccessors[] = { |
+ {"type", SVGTestInterfaceV8Internal::typeAttributeGetterCallback, SVGTestInterfaceV8Internal::typeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts}, |
}; |
static void installV8SVGTestInterfaceTemplate(v8::Local<v8::FunctionTemplate> functionTemplate, v8::Isolate* isolate) |
@@ -76,8 +77,8 @@ static void installV8SVGTestInterfaceTemplate(v8::Local<v8::FunctionTemplate> fu |
v8::Local<v8::Signature> defaultSignature; |
defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, functionTemplate, "SVGTestInterface", v8::Local<v8::FunctionTemplate>(), V8SVGTestInterface::internalFieldCount, |
- V8SVGTestInterfaceAttributes, WTF_ARRAY_LENGTH(V8SVGTestInterfaceAttributes), |
0, 0, |
+ V8SVGTestInterfaceAccessors, WTF_ARRAY_LENGTH(V8SVGTestInterfaceAccessors), |
0, 0); |
v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceTemplate(); |
ALLOW_UNUSED_LOCAL(instanceTemplate); |