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 267fc32ef6da78b0884786b6b16ea4676527ad49..4fa8a29078bb0149b6ddd368d9843a3c75c234e4 100644 |
--- a/third_party/WebKit/Source/core/dom/custom/CustomElement.cpp |
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElement.cpp |
@@ -12,7 +12,6 @@ |
#include "core/dom/custom/CustomElementsRegistry.h" |
#include "core/dom/custom/V0CustomElement.h" |
#include "core/dom/custom/V0CustomElementRegistrationContext.h" |
-#include "core/frame/FrameHost.h" |
#include "core/frame/LocalDOMWindow.h" |
#include "core/html/HTMLElement.h" |
#include "core/html/HTMLUnknownElement.h" |
@@ -197,8 +196,7 @@ void CustomElement::enqueue(Element* element, CustomElementReaction* reaction) |
// If the custom element reactions stack is empty, then |
// Add element to the backup element queue. |
- element->document().frameHost()->customElementReactionStack() |
- .enqueueToBackupQueue(element, reaction); |
+ CustomElementReactionStack::current().enqueueToBackupQueue(element, reaction); |
} |
void CustomElement::enqueueConnectedCallback(Element* element) |