summaryrefslogtreecommitdiffstats
path: root/dom/base/FragmentOrElement.cpp
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2020-01-04 19:48:05 -0500
committerGaming4JC <g4jc@hyperbola.info>2020-01-26 15:50:17 -0500
commit59c26110c1124844b5c6820573a8cb4807f1151a (patch)
tree5ac0f001cc097235e5e44c4c16fa9ab120c9b76d /dom/base/FragmentOrElement.cpp
parenta2c7b5f1d971cd529e65179ad97d39750e956644 (diff)
downloadUXP-59c26110c1124844b5c6820573a8cb4807f1151a.tar
UXP-59c26110c1124844b5c6820573a8cb4807f1151a.tar.gz
UXP-59c26110c1124844b5c6820573a8cb4807f1151a.tar.lz
UXP-59c26110c1124844b5c6820573a8cb4807f1151a.tar.xz
UXP-59c26110c1124844b5c6820573a8cb4807f1151a.zip
Bug 1347634 - GetCustomElementData and SetCustomElementData don't need to be virtual;
Tag UXP Issue #1344
Diffstat (limited to 'dom/base/FragmentOrElement.cpp')
-rw-r--r--dom/base/FragmentOrElement.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/dom/base/FragmentOrElement.cpp b/dom/base/FragmentOrElement.cpp
index 9106778df..bf0679d9f 100644
--- a/dom/base/FragmentOrElement.cpp
+++ b/dom/base/FragmentOrElement.cpp
@@ -1086,24 +1086,6 @@ FragmentOrElement::SetXBLInsertionParent(nsIContent* aContent)
}
}
-CustomElementData*
-FragmentOrElement::GetCustomElementData() const
-{
- nsDOMSlots *slots = GetExistingDOMSlots();
- if (slots) {
- return slots->mCustomElementData;
- }
- return nullptr;
-}
-
-void
-FragmentOrElement::SetCustomElementData(CustomElementData* aData)
-{
- nsDOMSlots *slots = DOMSlots();
- MOZ_ASSERT(!slots->mCustomElementData, "Custom element data may not be changed once set.");
- slots->mCustomElementData = aData;
-}
-
nsresult
FragmentOrElement::InsertChildAt(nsIContent* aKid,
uint32_t aIndex,