Index: Source/bindings/v8/custom/V8HTMLImageElementConstructor.cpp |
diff --git a/Source/bindings/v8/custom/V8HTMLImageElementConstructor.cpp b/Source/bindings/v8/custom/V8HTMLImageElementConstructor.cpp |
index 8d06c793899eaecbb1d5a31eeb831e323f1e9c22..9b0139805ea020ea843d88beac265ff1c475e0a5 100644 |
--- a/Source/bindings/v8/custom/V8HTMLImageElementConstructor.cpp |
+++ b/Source/bindings/v8/custom/V8HTMLImageElementConstructor.cpp |
@@ -43,7 +43,7 @@ |
namespace WebCore { |
-WrapperTypeInfo V8HTMLImageElementConstructor::info = { V8HTMLImageElementConstructor::GetTemplate, V8HTMLImageElement::derefObject, 0, V8HTMLImageElement::toEventTarget, 0, V8HTMLImageElement::installPerContextEnabledPrototypeProperties, 0, WrapperTypeObjectPrototype }; |
+WrapperTypeInfo V8HTMLImageElementConstructor::wrapperTypeInfo = { V8HTMLImageElementConstructor::GetTemplate, V8HTMLImageElement::derefObject, 0, V8HTMLImageElement::toEventTarget, 0, V8HTMLImageElement::installPerContextEnabledPrototypeProperties, 0, WrapperTypeObjectPrototype }; |
static void v8HTMLImageElementConstructorMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& args) |
{ |
@@ -82,7 +82,7 @@ static void v8HTMLImageElementConstructorMethodCustom(const v8::FunctionCallback |
RefPtr<HTMLImageElement> image = HTMLImageElement::createForJSConstructor(*document, optionalWidth, optionalHeight); |
v8::Handle<v8::Object> wrapper = args.Holder(); |
- V8DOMWrapper::associateObjectWithWrapper<V8HTMLImageElement>(image.release(), &V8HTMLImageElementConstructor::info, wrapper, args.GetIsolate(), WrapperConfiguration::Dependent); |
+ V8DOMWrapper::associateObjectWithWrapper<V8HTMLImageElement>(image.release(), &V8HTMLImageElementConstructor::wrapperTypeInfo, wrapper, args.GetIsolate(), WrapperConfiguration::Dependent); |
v8SetReturnValue(args, wrapper); |
} |