Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(285)

Unified Diff: third_party/WebKit/Source/core/dom/custom/CustomElementReactionQueue.h

Issue 2456773002: Clear the custom element's reaction queue if upgrade fails. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/custom/CustomElementReactionQueue.h
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementReactionQueue.h b/third_party/WebKit/Source/core/dom/custom/CustomElementReactionQueue.h
index 3a396e51c6de96f22f9283cb82a540029bdae4be..8a237cbe4422d4f7fc3f073513faa80791664058 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementReactionQueue.h
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementReactionQueue.h
@@ -27,6 +27,7 @@ class CORE_EXPORT CustomElementReactionQueue final
void add(CustomElementReaction*);
void invokeReactions(Element*);
bool isEmpty() { return m_reactions.isEmpty(); }
+ void clear();
private:
HeapVector<Member<CustomElementReaction>, 1> m_reactions;

Powered by Google App Engine
This is Rietveld 408576698