summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorPale Moon <git-repo@palemoon.org>2015-09-23 10:09:33 +0200
committerPale Moon <git-repo@palemoon.org>2015-09-23 10:09:33 +0200
commitf90f13e93a34878d667d56d923ccad31c63eb8b9 (patch)
tree600f8226fa7dda5e8936267e80caad98af5807f1 /content
parentc31a0484b4b02d47c810953e466bfefe01f900d3 (diff)
downloadpalemoon-gre-f90f13e93a34878d667d56d923ccad31c63eb8b9.tar.gz
Remove UnsetAttr from Style element since it will no longer be used.
Diffstat (limited to 'content')
-rw-r--r--content/html/content/src/HTMLStyleElement.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/content/html/content/src/HTMLStyleElement.cpp b/content/html/content/src/HTMLStyleElement.cpp
index b389192c0..6eabd6f71 100644
--- a/content/html/content/src/HTMLStyleElement.cpp
+++ b/content/html/content/src/HTMLStyleElement.cpp
@@ -183,25 +183,6 @@ HTMLStyleElement::AfterSetAttr(int32_t aNameSpaceID, nsIAtom* aName,
aNotify);
}
-nsresult
-HTMLStyleElement::UnsetAttr(int32_t aNameSpaceID, nsIAtom* aAttribute,
- bool aNotify)
-{
- nsresult rv = nsGenericHTMLElement::UnsetAttr(aNameSpaceID, aAttribute,
- aNotify);
- if (NS_SUCCEEDED(rv) && aNameSpaceID == kNameSpaceID_None) {
- if (aAttribute == nsGkAtoms::title ||
- aAttribute == nsGkAtoms::media ||
- aAttribute == nsGkAtoms::type) {
- UpdateStyleSheetInternal(nullptr, true);
- } else if (aAttribute == nsGkAtoms::scoped) {
- UpdateStyleSheetScopedness(false);
- }
- }
-
- return rv;
-}
-
void
HTMLStyleElement::GetInnerHTML(nsAString& aInnerHTML, ErrorResult& aError)
{