| Index: Source/bindings/core/v8/CustomElementConstructorBuilder.cpp
|
| diff --git a/Source/bindings/core/v8/CustomElementConstructorBuilder.cpp b/Source/bindings/core/v8/CustomElementConstructorBuilder.cpp
|
| index 06bedc504815e6ecf339421574cfa0525f1f0640..5b73be1c9696a8ba2c6e0c723787af72aea2cf4b 100644
|
| --- a/Source/bindings/core/v8/CustomElementConstructorBuilder.cpp
|
| +++ b/Source/bindings/core/v8/CustomElementConstructorBuilder.cpp
|
| @@ -74,7 +74,7 @@ bool CustomElementConstructorBuilder::validateOptions(const AtomicString& type,
|
| v8::TryCatch tryCatch;
|
|
|
| ScriptValue prototypeScriptValue;
|
| - if (m_options->get("prototype", prototypeScriptValue) && !prototypeScriptValue.isNull()) {
|
| + if (DictionaryHelper::get(*m_options, "prototype", prototypeScriptValue) && !prototypeScriptValue.isNull()) {
|
| ASSERT(!tryCatch.HasCaught());
|
| if (!prototypeScriptValue.isObject()) {
|
| CustomElementException::throwException(CustomElementException::PrototypeNotAnObject, type, exceptionState);
|
| @@ -95,7 +95,7 @@ bool CustomElementConstructorBuilder::validateOptions(const AtomicString& type,
|
| }
|
|
|
| AtomicString extends;
|
| - bool extendsProvidedAndNonNull = m_options->get("extends", extends);
|
| + bool extendsProvidedAndNonNull = DictionaryHelper::get(*m_options, "extends", extends);
|
|
|
| if (tryCatch.HasCaught()) {
|
| tryCatch.ReThrow();
|
|
|