| Index: third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp
|
| index e18186119e3571c5895c4181fdf87599be624124..2d3925b55523cc2d7d6e357b1fd10764117b31bc 100644
|
| --- a/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp
|
| @@ -12,6 +12,7 @@
|
| #include "core/dom/custom/CustomElementConnectedCallbackReaction.h"
|
| #include "core/dom/custom/CustomElementDisconnectedCallbackReaction.h"
|
| #include "core/dom/custom/CustomElementReaction.h"
|
| +#include "core/dom/custom/CustomElementReactionStack.h"
|
| #include "core/dom/custom/CustomElementUpgradeReaction.h"
|
| #include "core/html/HTMLElement.h"
|
|
|
| @@ -154,6 +155,7 @@ void CustomElementDefinition::upgrade(Element* element) {
|
| }
|
| if (!succeeded) {
|
| element->setCustomElementState(CustomElementState::Failed);
|
| + CustomElementReactionStack::current().clearQueue(element);
|
| return;
|
| }
|
|
|
|
|