diff options
author | athenian200 <athenian200@outlook.com> | 2020-01-27 22:59:08 -0600 |
---|---|---|
committer | athenian200 <athenian200@outlook.com> | 2020-01-27 22:59:08 -0600 |
commit | 3c4f414db74b84f7d2a6fb13fd888a47a153699b (patch) | |
tree | ea81fca559849967a79d598a6f460830762ec9ea /parser/html/nsHtml5ReleasableAttributeName.cpp | |
parent | 1f8d508258ac5d7d57fc4eb35cac90f28bc8ca03 (diff) | |
parent | c4b0715baaffc541670fd1158557aa7e61e521d3 (diff) | |
download | UXP-3c4f414db74b84f7d2a6fb13fd888a47a153699b.tar UXP-3c4f414db74b84f7d2a6fb13fd888a47a153699b.tar.gz UXP-3c4f414db74b84f7d2a6fb13fd888a47a153699b.tar.lz UXP-3c4f414db74b84f7d2a6fb13fd888a47a153699b.tar.xz UXP-3c4f414db74b84f7d2a6fb13fd888a47a153699b.zip |
Merge branch 'master' of https://github.com/MoonchildProductions/UXP into form-disabled-issue
Diffstat (limited to 'parser/html/nsHtml5ReleasableAttributeName.cpp')
-rw-r--r-- | parser/html/nsHtml5ReleasableAttributeName.cpp | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/parser/html/nsHtml5ReleasableAttributeName.cpp b/parser/html/nsHtml5ReleasableAttributeName.cpp deleted file mode 100644 index 4cef131e7..000000000 --- a/parser/html/nsHtml5ReleasableAttributeName.cpp +++ /dev/null @@ -1,34 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -#include "nsHtml5ReleasableAttributeName.h" -#include "nsHtml5Portability.h" -#include "nsHtml5AtomTable.h" - -nsHtml5ReleasableAttributeName::nsHtml5ReleasableAttributeName(int32_t* uri, nsIAtom** local, nsIAtom** prefix) - : nsHtml5AttributeName(uri, local, prefix) -{ -} - -nsHtml5AttributeName* -nsHtml5ReleasableAttributeName::cloneAttributeName(nsHtml5AtomTable* aInterner) -{ - nsIAtom* l = getLocal(0); - if (aInterner) { - if (!l->IsStaticAtom()) { - nsAutoString str; - l->ToString(str); - l = aInterner->GetAtom(str); - } - } - return new nsHtml5ReleasableAttributeName(nsHtml5AttributeName::ALL_NO_NS, - nsHtml5AttributeName::SAME_LOCAL(l), - nsHtml5AttributeName::ALL_NO_PREFIX); -} - -void -nsHtml5ReleasableAttributeName::release() -{ - delete this; -} |