summaryrefslogtreecommitdiffstats
path: root/dom/base/nsMappedAttributes.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/nsMappedAttributes.h')
-rw-r--r--dom/base/nsMappedAttributes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/dom/base/nsMappedAttributes.h b/dom/base/nsMappedAttributes.h
index f00b888b9..0c24fd973 100644
--- a/dom/base/nsMappedAttributes.h
+++ b/dom/base/nsMappedAttributes.h
@@ -33,7 +33,8 @@ public:
NS_DECL_ISUPPORTS
- void SetAndTakeAttr(nsIAtom* aAttrName, nsAttrValue& aValue);
+ void SetAndSwapAttr(nsIAtom* aAttrName, nsAttrValue& aValue,
+ bool* aValueWasSet);
const nsAttrValue* GetAttr(nsIAtom* aAttrName) const;
const nsAttrValue* GetAttr(const nsAString& aAttrName) const;