summaryrefslogtreecommitdiffstats
path: root/dom/base/Element.h
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-04-17 07:37:07 -0400
committerMatt A. Tobin <email@mattatobin.com>2020-04-17 07:37:07 -0400
commit53df3a74f46fa6b5d3778f9635a1afb7522c345f (patch)
treed14a398349b7e7dea85447d12eaffda02d2ed674 /dom/base/Element.h
parentb93fb57514781ea406fb152cf46b502cffd272ff (diff)
downloadUXP-53df3a74f46fa6b5d3778f9635a1afb7522c345f.tar
UXP-53df3a74f46fa6b5d3778f9635a1afb7522c345f.tar.gz
UXP-53df3a74f46fa6b5d3778f9635a1afb7522c345f.tar.lz
UXP-53df3a74f46fa6b5d3778f9635a1afb7522c345f.tar.xz
UXP-53df3a74f46fa6b5d3778f9635a1afb7522c345f.zip
Bug 1426503 - Remove DestInsertionPoints stuff
Tag #1375
Diffstat (limited to 'dom/base/Element.h')
-rw-r--r--dom/base/Element.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/dom/base/Element.h b/dom/base/Element.h
index 23a9fee52..3d9b80a98 100644
--- a/dom/base/Element.h
+++ b/dom/base/Element.h
@@ -144,7 +144,6 @@ class CustomElementRegistry;
class Link;
class DOMRect;
class DOMRectList;
-class DestinationInsertionPointList;
class Grid;
// IID for the dom::Element interface
@@ -933,7 +932,6 @@ public:
// [deprecated] Shadow DOM v0
already_AddRefed<ShadowRoot> CreateShadowRoot(ErrorResult& aError);
- already_AddRefed<DestinationInsertionPointList> GetDestinationInsertionPoints();
ShadowRoot *FastGetShadowRoot() const
{
@@ -1616,30 +1614,6 @@ private:
nsCOMPtr<nsIDocument> mDoc;
};
-class DestinationInsertionPointList : public nsINodeList
-{
-public:
- explicit DestinationInsertionPointList(Element* aElement);
-
- NS_DECL_CYCLE_COLLECTING_ISUPPORTS
- NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(DestinationInsertionPointList)
-
- // nsIDOMNodeList
- NS_DECL_NSIDOMNODELIST
-
- // nsINodeList
- virtual nsIContent* Item(uint32_t aIndex) override;
- virtual int32_t IndexOf(nsIContent* aContent) override;
- virtual nsINode* GetParentObject() override { return mParent; }
- virtual uint32_t Length() const;
- virtual JSObject* WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto) override;
-protected:
- virtual ~DestinationInsertionPointList();
-
- RefPtr<Element> mParent;
- nsCOMArray<nsIContent> mDestinationPoints;
-};
-
NS_DEFINE_STATIC_IID_ACCESSOR(Element, NS_ELEMENT_IID)
inline bool