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

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

Issue 2630293003: Do not allocate SlotAssignment unless a shadowroot has a slot (Closed)
Patch Set: renamed 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/dom/shadow/SlotAssignment.h
diff --git a/third_party/WebKit/Source/core/dom/shadow/SlotAssignment.h b/third_party/WebKit/Source/core/dom/shadow/SlotAssignment.h
index d4aed8d2cc1c8d21bd7fd641e30fada92c056759..4bb24c6a39a15739e90db971efbc5a720047ba2d 100644
--- a/third_party/WebKit/Source/core/dom/shadow/SlotAssignment.h
+++ b/third_party/WebKit/Source/core/dom/shadow/SlotAssignment.h
@@ -42,11 +42,11 @@ class SlotAssignment final : public GarbageCollected<SlotAssignment> {
void resolveDistribution();
const HeapVector<Member<HTMLSlotElement>>& slots();
- void slotAdded(HTMLSlotElement&);
+ void didAddSlot(HTMLSlotElement&);
void slotRemoved(HTMLSlotElement&);
void slotRenamed(const AtomicString& oldName, HTMLSlotElement&);
- void hostChildSlotNameChanged(const AtomicString& oldValue,
- const AtomicString& newValue);
+ void didChangeHostChildSlotName(const AtomicString& oldValue,
+ const AtomicString& newValue);
bool findHostChildBySlotName(const AtomicString& slotName) const;
« no previous file with comments | « third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp ('k') | third_party/WebKit/Source/core/dom/shadow/SlotAssignment.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698