Index: Source/bindings/v8/custom/V8PromiseCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8PromiseCustom.cpp b/Source/bindings/v8/custom/V8PromiseCustom.cpp |
index 08a414b07bfb85f05d76d498147905dbd03789b8..5a919444edb6b4363c7838d1d2d73251fc7b02dd 100644 |
--- a/Source/bindings/v8/custom/V8PromiseCustom.cpp |
+++ b/Source/bindings/v8/custom/V8PromiseCustom.cpp |
@@ -639,7 +639,7 @@ v8::Local<v8::Object> V8PromiseCustom::createPromise(v8::Handle<v8::Object> crea |
{ |
v8::Local<v8::ObjectTemplate> internalTemplate = internalObjectTemplate(isolate); |
v8::Local<v8::Object> internal = internalTemplate->NewInstance(); |
- v8::Local<v8::Object> promise = V8DOMWrapper::createWrapper(creationContext, &V8Promise::info, 0, isolate); |
+ v8::Local<v8::Object> promise = V8DOMWrapper::createWrapper(creationContext, &V8Promise::wrapperTypeInfo, 0, isolate); |
clearDerived(internal); |
setState(internal, Pending, v8::Undefined(isolate), isolate); |