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

Unified Diff: third_party/WebKit/Source/core/html/HTMLSlotElement.h

Issue 2622193002: Dispatch slotchange events in "notify mutation observers" steps (Closed)
Patch Set: fixed Created 3 years, 11 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/html/HTMLSlotElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLSlotElement.h b/third_party/WebKit/Source/core/html/HTMLSlotElement.h
index f5f4aca971065f949a42a752caea190cf9271f10..642562d9bd0c397708b12255cd74be1ea56563bd 100644
--- a/third_party/WebKit/Source/core/html/HTMLSlotElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLSlotElement.h
@@ -96,6 +96,8 @@ class CORE_EXPORT HTMLSlotElement final : public HTMLElement {
bool supportsDistribution() const { return isInV1ShadowTree(); }
void didSlotChange(SlotChangeType);
+ void dispatchSlotChangeEvent();
+ void clearSlotChangeEventEnqueued() { m_slotchangeEventEnqueued = false; }
static AtomicString normalizeSlotName(const AtomicString&);
@@ -109,7 +111,6 @@ class CORE_EXPORT HTMLSlotElement final : public HTMLElement {
void willRecalcStyle(StyleRecalcChange) final;
void enqueueSlotChangeEvent();
- void dispatchSlotChangeEvent();
HeapVector<Member<Node>> m_assignedNodes;
HeapVector<Member<Node>> m_distributedNodes;

Powered by Google App Engine
This is Rietveld 408576698