| Index: third_party/WebKit/Source/core/dom/custom/CustomElementsRegistryTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementsRegistryTest.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElementsRegistryTest.cpp
|
| index 17467d0b6e240997dcd0094d6d4fe180a48a455c..0f50fdf2867ffcc1c66ddb43cc3da1a52154f4e4 100644
|
| --- a/third_party/WebKit/Source/core/dom/custom/CustomElementsRegistryTest.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/custom/CustomElementsRegistryTest.cpp
|
| @@ -231,6 +231,12 @@ public:
|
| {
|
| }
|
|
|
| + TestCustomElementDefinition(const CustomElementDescriptor& descriptor,
|
| + const HashSet<AtomicString>& observedAttributes)
|
| + : CustomElementDefinition(descriptor, observedAttributes)
|
| + {
|
| + }
|
| +
|
| ~TestCustomElementDefinition() override = default;
|
|
|
| ScriptValue getConstructorForScript() override
|
| @@ -265,11 +271,12 @@ class LogUpgradeDefinition : public TestCustomElementDefinition {
|
| WTF_MAKE_NONCOPYABLE(LogUpgradeDefinition);
|
| public:
|
| LogUpgradeDefinition(const CustomElementDescriptor& descriptor)
|
| - : TestCustomElementDefinition(descriptor)
|
| + : TestCustomElementDefinition(descriptor, {
|
| + "attr1",
|
| + "attr2",
|
| + HTMLNames::contenteditableAttr.localName(),
|
| + })
|
| {
|
| - m_observedAttributes.add("attr1");
|
| - m_observedAttributes.add("attr2");
|
| - m_observedAttributes.add(HTMLNames::contenteditableAttr.localName());
|
| }
|
|
|
| DEFINE_INLINE_VIRTUAL_TRACE()
|
|
|