| Index: third_party/WebKit/Source/core/dom/custom/CustomElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElement.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElement.cpp
|
| index 2f6f6bf2f21b12d2ecf89ea0bd169ebb4c49c894..83ea081e5c28ee8f238f89efccea556ac7a1932e 100644
|
| --- a/third_party/WebKit/Source/core/dom/custom/CustomElement.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/custom/CustomElement.cpp
|
| @@ -9,7 +9,7 @@
|
| #include "core/dom/custom/CEReactionsScope.h"
|
| #include "core/dom/custom/CustomElementDefinition.h"
|
| #include "core/dom/custom/CustomElementReactionStack.h"
|
| -#include "core/dom/custom/CustomElementsRegistry.h"
|
| +#include "core/dom/custom/CustomElementRegistry.h"
|
| #include "core/dom/custom/V0CustomElement.h"
|
| #include "core/dom/custom/V0CustomElementRegistrationContext.h"
|
| #include "core/frame/LocalDOMWindow.h"
|
| @@ -20,12 +20,12 @@
|
|
|
| namespace blink {
|
|
|
| -CustomElementsRegistry* CustomElement::registry(const Element& element)
|
| +CustomElementRegistry* CustomElement::registry(const Element& element)
|
| {
|
| return registry(element.document());
|
| }
|
|
|
| -CustomElementsRegistry* CustomElement::registry(const Document& document)
|
| +CustomElementRegistry* CustomElement::registry(const Document& document)
|
| {
|
| if (LocalDOMWindow* window = document.executingWindow())
|
| return window->customElements();
|
| @@ -93,7 +93,7 @@ bool CustomElement::shouldCreateCustomElement(const QualifiedName& tagName)
|
|
|
| static CustomElementDefinition* definitionForName(const Document& document, const QualifiedName& name)
|
| {
|
| - if (CustomElementsRegistry* registry = CustomElement::registry(document))
|
| + if (CustomElementRegistry* registry = CustomElement::registry(document))
|
| return registry->definitionForName(name.localName());
|
| return nullptr;
|
| }
|
| @@ -238,7 +238,7 @@ void CustomElement::tryToUpgrade(Element* element)
|
|
|
| DCHECK_EQ(element->getCustomElementState(), CustomElementState::Undefined);
|
|
|
| - CustomElementsRegistry* registry = CustomElement::registry(*element);
|
| + CustomElementRegistry* registry = CustomElement::registry(*element);
|
| if (!registry)
|
| return;
|
| if (CustomElementDefinition* definition = registry->definitionForName(element->localName()))
|
|
|