Index: Source/bindings/templates/interface.cpp |
diff --git a/Source/bindings/templates/interface.cpp b/Source/bindings/templates/interface.cpp |
index 045f6498fcac3779a293e794826676025034f036..f92138cc1c05b37b9503d1d428cbf2981103894d 100644 |
--- a/Source/bindings/templates/interface.cpp |
+++ b/Source/bindings/templates/interface.cpp |
@@ -557,7 +557,7 @@ static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info) |
{% endif %} |
v8::Handle<v8::Object> wrapper = info.Holder(); |
- event->associateWithWrapper(&{{v8_class}}::wrapperTypeInfo, wrapper, info.GetIsolate()); |
+ event->associateWithWrapper(info.GetIsolate(), &{{v8_class}}::wrapperTypeInfo, wrapper); |
v8SetReturnValue(info, wrapper); |
} |
@@ -786,7 +786,7 @@ v8::Handle<v8::Object> {{v8_class}}::findInstanceInPrototypeChain(v8::Handle<v8: |
// DOMArrayBufferDeallocationObserver::blinkAllocatedMemory. |
buffer->buffer()->setDeallocationObserverWithoutAllocationNotification( |
DOMArrayBufferDeallocationObserver::instance()); |
- buffer->associateWithWrapper(buffer->wrapperTypeInfo(), object, v8::Isolate::GetCurrent()); |
+ buffer->associateWithWrapper(v8::Isolate::GetCurrent(), buffer->wrapperTypeInfo(), object); |
return buffer.get(); |
} |
@@ -834,7 +834,7 @@ v8::Handle<v8::Object> {{v8_class}}::findInstanceInPrototypeChain(v8::Handle<v8: |
v8::Handle<v8::{{interface_name}}> v8View = object.As<v8::{{interface_name}}>(); |
RefPtr<{{cpp_class}}> typedArray = {{cpp_class}}::create(V8ArrayBuffer::toImpl(v8View->Buffer()), v8View->ByteOffset(), v8View->{% if interface_name == 'DataView' %}Byte{% endif %}Length()); |
- typedArray->associateWithWrapper(typedArray->wrapperTypeInfo(), object, v8::Isolate::GetCurrent()); |
+ typedArray->associateWithWrapper(v8::Isolate::GetCurrent(), typedArray->wrapperTypeInfo(), object); |
return typedArray->toImpl<{{cpp_class}}>(); |
} |