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

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

Issue 2027513002: Add a stack of queues of elements with reaction queues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ce-element-queue
Patch Set: Rebase. Created 4 years, 7 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 280d8f862889d90778b493d88c4c7f5942149e41..b4b608b737b6bc809d5702ce62d01957aeae1051 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementReactionQueue.h
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementReactionQueue.h
@@ -25,9 +25,10 @@ public:
void add(CustomElementReaction*);
void invokeReactions(Element*);
+ bool isEmpty() { return m_reactions.isEmpty(); }
private:
- HeapVector<Member<CustomElementReaction>> m_reactions;
+ HeapVector<Member<CustomElementReaction>, 1> m_reactions;
size_t m_index;
};
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/dom/custom/CustomElementReactionQueueTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698