| Index: Source/bindings/tests/results/V8TestNode.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestNode.cpp b/Source/bindings/tests/results/V8TestNode.cpp
|
| index 19127a8e58626bc8b8febf4b24c6554b1aa49f4e..8cec117fc803025f08b33c75227c0135c3c988b1 100644
|
| --- a/Source/bindings/tests/results/V8TestNode.cpp
|
| +++ b/Source/bindings/tests/results/V8TestNode.cpp
|
| @@ -119,14 +119,14 @@ static void hrefThrowsAttributeSetterCallback(v8::Local<v8::String> name, v8::Lo
|
| TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
|
| }
|
|
|
| -static void constructor(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| +static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
|
|
| RefPtr<TestNode> impl = TestNode::create();
|
| - v8::Handle<v8::Object> wrapper = args.Holder();
|
| + v8::Handle<v8::Object> wrapper = info.Holder();
|
|
|
| - V8DOMWrapper::associateObjectWithWrapper<V8TestNode>(impl.release(), &V8TestNode::wrapperTypeInfo, wrapper, args.GetIsolate(), WrapperConfiguration::Dependent);
|
| - args.GetReturnValue().Set(wrapper);
|
| + V8DOMWrapper::associateObjectWithWrapper<V8TestNode>(impl.release(), &V8TestNode::wrapperTypeInfo, wrapper, info.GetIsolate(), WrapperConfiguration::Dependent);
|
| + info.GetReturnValue().Set(wrapper);
|
| }
|
|
|
| } // namespace TestNodeV8Internal
|
| @@ -136,20 +136,20 @@ static const V8DOMConfiguration::AttributeConfiguration V8TestNodeAttributes[] =
|
| {"hrefThrows", TestNodeV8Internal::hrefThrowsAttributeGetterCallback, TestNodeV8Internal::hrefThrowsAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
|
| };
|
|
|
| -void V8TestNode::constructorCallback(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| +void V8TestNode::constructorCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
| TRACE_EVENT_SCOPED_SAMPLING_STATE("Blink", "DOMConstructor");
|
| - if (!args.IsConstructCall()) {
|
| - throwTypeError(ExceptionMessages::failedToConstruct("TestNode", "Please use the 'new' operator, this DOM object constructor cannot be called as a function."), args.GetIsolate());
|
| + if (!info.IsConstructCall()) {
|
| + throwTypeError(ExceptionMessages::failedToConstruct("TestNode", "Please use the 'new' operator, this DOM object constructor cannot be called as a function."), info.GetIsolate());
|
| return;
|
| }
|
|
|
| if (ConstructorMode::current() == ConstructorMode::WrapExistingObject) {
|
| - args.GetReturnValue().Set(args.Holder());
|
| + info.GetReturnValue().Set(info.Holder());
|
| return;
|
| }
|
|
|
| - TestNodeV8Internal::constructor(args);
|
| + TestNodeV8Internal::constructor(info);
|
| }
|
|
|
| static v8::Handle<v8::FunctionTemplate> ConfigureV8TestNodeTemplate(v8::Handle<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType currentWorldType)
|
|
|