| Index: Source/bindings/v8/custom/V8MessageChannelCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8MessageChannelCustom.cpp b/Source/bindings/v8/custom/V8MessageChannelCustom.cpp
|
| index 2e32ec52677b61e7fc0a1168a820fec6510ec004..67ec60fbd92d01ed26af4903309575a48de95da6 100644
|
| --- a/Source/bindings/v8/custom/V8MessageChannelCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8MessageChannelCustom.cpp
|
| @@ -41,22 +41,22 @@
|
|
|
| namespace WebCore {
|
|
|
| -void V8MessageChannel::constructorCustom(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| +void V8MessageChannel::constructorCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
| ExecutionContext* context = getExecutionContext();
|
|
|
| RefPtr<MessageChannel> obj = MessageChannel::create(context);
|
|
|
| - v8::Local<v8::Object> wrapper = args.Holder();
|
| + v8::Local<v8::Object> wrapper = info.Holder();
|
|
|
| // Create references from the MessageChannel wrapper to the two
|
| // MessagePort wrappers to make sure that the MessagePort wrappers
|
| // stay alive as long as the MessageChannel wrapper is around.
|
| - V8HiddenPropertyName::setNamedHiddenReference(wrapper, "port1", toV8(obj->port1(), args.Holder(), args.GetIsolate()));
|
| - V8HiddenPropertyName::setNamedHiddenReference(wrapper, "port2", toV8(obj->port2(), args.Holder(), args.GetIsolate()));
|
| + V8HiddenPropertyName::setNamedHiddenReference(wrapper, "port1", toV8(obj->port1(), info.Holder(), info.GetIsolate()));
|
| + V8HiddenPropertyName::setNamedHiddenReference(wrapper, "port2", toV8(obj->port2(), info.Holder(), info.GetIsolate()));
|
|
|
| - V8DOMWrapper::associateObjectWithWrapper<V8MessageChannel>(obj.release(), &wrapperTypeInfo, wrapper, args.GetIsolate(), WrapperConfiguration::Dependent);
|
| - args.GetReturnValue().Set(wrapper);
|
| + V8DOMWrapper::associateObjectWithWrapper<V8MessageChannel>(obj.release(), &wrapperTypeInfo, wrapper, info.GetIsolate(), WrapperConfiguration::Dependent);
|
| + info.GetReturnValue().Set(wrapper);
|
| }
|
|
|
| } // namespace WebCore
|
|
|