| Index: Source/bindings/core/v8/CustomElementConstructorBuilder.cpp
|
| diff --git a/Source/bindings/core/v8/CustomElementConstructorBuilder.cpp b/Source/bindings/core/v8/CustomElementConstructorBuilder.cpp
|
| index 580d99241d0a2f5e4b6e7719f1bc10edfc5e31b8..64b7fe887b29004a1cb41d5542c97b9e2b5d541c 100644
|
| --- a/Source/bindings/core/v8/CustomElementConstructorBuilder.cpp
|
| +++ b/Source/bindings/core/v8/CustomElementConstructorBuilder.cpp
|
| @@ -211,7 +211,7 @@ bool CustomElementConstructorBuilder::prototypeIsValid(const AtomicString& type,
|
| }
|
|
|
| v8::PropertyAttribute propertyAttribute;
|
| - if (!getValueFromMaybe(m_prototype->GetPropertyAttributes(m_scriptState->isolate()->GetCurrentContext(), v8String(m_scriptState->isolate(), "constructor")), propertyAttribute) || (propertyAttribute & v8::DontDelete)) {
|
| + if (!v8Call(m_prototype->GetPropertyAttributes(m_scriptState->isolate()->GetCurrentContext(), v8String(m_scriptState->isolate(), "constructor")), propertyAttribute) || (propertyAttribute & v8::DontDelete)) {
|
| CustomElementException::throwException(CustomElementException::ConstructorPropertyNotConfigurable, type, exceptionState);
|
| return false;
|
| }
|
|
|