| Index: Source/bindings/v8/custom/V8MessageChannelCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8MessageChannelCustom.cpp b/Source/bindings/v8/custom/V8MessageChannelCustom.cpp
|
| index 67ec60fbd92d01ed26af4903309575a48de95da6..03b17447f7cc4292d64048dee3b2f006a7d7d898 100644
|
| --- a/Source/bindings/v8/custom/V8MessageChannelCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8MessageChannelCustom.cpp
|
| @@ -33,7 +33,6 @@
|
|
|
| #include "V8MessagePort.h"
|
| #include "bindings/v8/V8Binding.h"
|
| -#include "bindings/v8/V8HiddenPropertyName.h"
|
| #include "bindings/v8/V8Utilities.h"
|
| #include "core/dom/MessageChannel.h"
|
| #include "core/workers/WorkerGlobalScope.h"
|
| @@ -52,8 +51,8 @@ void V8MessageChannel::constructorCustom(const v8::FunctionCallbackInfo<v8::Valu
|
| // 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(), info.Holder(), info.GetIsolate()));
|
| - V8HiddenPropertyName::setNamedHiddenReference(wrapper, "port2", toV8(obj->port2(), info.Holder(), info.GetIsolate()));
|
| + setHiddenValue(info.GetIsolate(), wrapper, "port1", toV8(obj->port1(), info.Holder(), info.GetIsolate()));
|
| + setHiddenValue(info.GetIsolate(), wrapper, "port2", toV8(obj->port2(), info.Holder(), info.GetIsolate()));
|
|
|
| V8DOMWrapper::associateObjectWithWrapper<V8MessageChannel>(obj.release(), &wrapperTypeInfo, wrapper, info.GetIsolate(), WrapperConfiguration::Dependent);
|
| info.GetReturnValue().Set(wrapper);
|
|
|