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

Unified Diff: third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h

Issue 1995203002: Rewrite Shadow DOM distribution engine to support partial synchronous distribution for v1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: No longer FAIL: imported/wpt/shadow-dom/HTMLSlotElement-interface.html 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/shadow/ShadowRoot.h
diff --git a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h
index eaa59e9c89c951f5c0280378d7db0ba9f0ac888d..8a8b60547101fa380cf2a7c6002e24b2dbcde53e 100644
--- a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h
+++ b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h
@@ -114,15 +114,8 @@ public:
SlotAssignment& ensureSlotAssignment();
- void didAddSlot();
- void didRemoveSlot();
- const HeapVector<Member<HTMLSlotElement>>& descendantSlots();
-
- void assignV1();
void distributeV1();
- HTMLSlotElement* assignedSlotFor(const Node&) const;
-
Element* activeElement() const;
String innerHTML() const;
@@ -157,19 +150,15 @@ private:
// ShadowRoots should never be cloned.
Node* cloneNode(bool) override { return nullptr; }
- void invalidateDescendantSlots();
- unsigned descendantSlotCount() const;
-
Member<ShadowRootRareDataV0> m_shadowRootRareDataV0;
Member<StyleSheetList> m_styleSheetList;
Member<SlotAssignment> m_slotAssignment;
- unsigned m_numberOfStyles : 13;
+ unsigned m_numberOfStyles : 14;
unsigned m_childShadowRootCount : 13;
unsigned m_type : 2;
unsigned m_registeredWithParentShadowRoot : 1;
unsigned m_descendantInsertionPointsIsValid : 1;
unsigned m_delegatesFocus : 1;
- unsigned m_descendantSlotsIsValid : 1;
};
inline Element* ShadowRoot::activeElement() const

Powered by Google App Engine
This is Rietveld 408576698