| Index: third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.cpp
|
| index 6163dced4530d47532ca1639222c3e9ac9f85fd2..3478c6b4cf5f6f23811b1f505bae7a320310c749 100644
|
| --- a/third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.cpp
|
| @@ -130,7 +130,10 @@ void CustomElementsRegistry::define(ScriptState* scriptState,
|
|
|
| Id id = m_definitions.size();
|
| v8::Local<v8::Value> idValue = v8::Integer::NewFromUnsigned(isolate, id);
|
| - m_definitions.append(new CustomElementDefinition(this, id, name));
|
| + m_definitions.append(new CustomElementDefinition(
|
| + this,
|
| + id,
|
| + CustomElementDescriptor(name, name)));
|
| // This map is stored in a hidden reference from the
|
| // CustomElementsRegistry wrapper.
|
| v8::Local<v8::Map> map = idMap(scriptState);
|
|
|