| Index: Source/bindings/v8/CustomElementConstructorBuilder.cpp
|
| diff --git a/Source/bindings/v8/CustomElementConstructorBuilder.cpp b/Source/bindings/v8/CustomElementConstructorBuilder.cpp
|
| index 7a94faf46171279d6687f7263c4bc9ce8eac34f7..3f3714c28c9fad39aadde61289f2a5cbb8df8ba9 100644
|
| --- a/Source/bindings/v8/CustomElementConstructorBuilder.cpp
|
| +++ b/Source/bindings/v8/CustomElementConstructorBuilder.cpp
|
| @@ -82,7 +82,7 @@ bool CustomElementConstructorBuilder::validateOptions(const AtomicString& type,
|
| }
|
| } else {
|
| m_prototype = v8::Object::New();
|
| - v8::Local<v8::Object> basePrototype = V8PerContextData::from(m_context)->prototypeForType(&V8HTMLElement::info);
|
| + v8::Local<v8::Object> basePrototype = V8PerContextData::from(m_context)->prototypeForType(&V8HTMLElement::wrapperTypeInfo);
|
| if (!basePrototype.IsEmpty())
|
| m_prototype->SetPrototype(basePrototype);
|
| }
|
| @@ -97,7 +97,7 @@ bool CustomElementConstructorBuilder::validateOptions(const AtomicString& type,
|
| }
|
|
|
| AtomicString namespaceURI = HTMLNames::xhtmlNamespaceURI;
|
| - if (hasValidPrototypeChainFor(&V8SVGElement::info))
|
| + if (hasValidPrototypeChainFor(&V8SVGElement::wrapperTypeInfo))
|
| namespaceURI = SVGNames::svgNamespaceURI;
|
|
|
| AtomicString localName;
|
| @@ -118,7 +118,7 @@ bool CustomElementConstructorBuilder::validateOptions(const AtomicString& type,
|
| }
|
|
|
| if (!extendsProvidedAndNonNull)
|
| - m_wrapperType = &V8HTMLElement::info;
|
| + m_wrapperType = &V8HTMLElement::wrapperTypeInfo;
|
| else if (namespaceURI == HTMLNames::xhtmlNamespaceURI)
|
| m_wrapperType = findWrapperTypeForHTMLTagName(localName);
|
| else
|
|
|