Index: Source/bindings/core/v8/V8PerContextData.cpp |
diff --git a/Source/bindings/core/v8/V8PerContextData.cpp b/Source/bindings/core/v8/V8PerContextData.cpp |
index 33e95c88c5c9dbe07d09d3eb39eda08f4178edf7..03c0602a776ee6283e028a6161a766b9194814bb 100644 |
--- a/Source/bindings/core/v8/V8PerContextData.cpp |
+++ b/Source/bindings/core/v8/V8PerContextData.cpp |
@@ -114,7 +114,7 @@ v8::Local<v8::Function> V8PerContextData::constructorForTypeSlowCase(const Wrapp |
if (prototypeObject->InternalFieldCount() == v8PrototypeInternalFieldcount |
&& type->wrapperTypePrototype == WrapperTypeInfo::WrapperTypeObjectPrototype) |
prototypeObject->SetAlignedPointerInInternalField(v8PrototypeTypeIndex, const_cast<WrapperTypeInfo*>(type)); |
- type->installConditionallyEnabledMethods(prototypeObject, m_isolate); |
+ type->preparePrototypeObject(m_isolate, prototypeObject); |
if (type->wrapperTypePrototype == WrapperTypeInfo::WrapperTypeExceptionPrototype) { |
if (!v8CallBoolean(prototypeObject->SetPrototype(currentContext, m_errorPrototype.newLocal(m_isolate)))) |
return v8::Local<v8::Function>(); |