Bug 817279 - Make Element::SetParsedAttr non-virtual; r=bz
authorMs2ger <ms2ger@gmail.com>
Sat, 22 Dec 2012 09:04:08 +0100
changeset 116670 eb59b648b2bc24b2386aef5b481529fdf4753c5b
parent 116669 f845e89f4c6860eca00f07045d218fd1e84c3afe
child 116671 a5330daedbac163226d9d8458a1003fbd1b9eefc
push idunknown
push userunknown
push dateunknown
reviewersbz
bugs817279
milestone20.0a1
Bug 817279 - Make Element::SetParsedAttr non-virtual; r=bz
content/base/public/Element.h
--- a/content/base/public/Element.h
+++ b/content/base/public/Element.h
@@ -453,19 +453,18 @@ public:
       nsNodeUtils::AttributeSetToCurrentValue(this, aNamespaceID, aName);
       return true;
     }
     return false;
   }
 
   virtual nsresult SetAttr(int32_t aNameSpaceID, nsIAtom* aName, nsIAtom* aPrefix,
                            const nsAString& aValue, bool aNotify);
-  virtual nsresult SetParsedAttr(int32_t aNameSpaceID, nsIAtom* aName,
-                                 nsIAtom* aPrefix, nsAttrValue& aParsedValue,
-                                 bool aNotify);
+  nsresult SetParsedAttr(int32_t aNameSpaceID, nsIAtom* aName, nsIAtom* aPrefix,
+                         nsAttrValue& aParsedValue, bool aNotify);
   virtual bool GetAttr(int32_t aNameSpaceID, nsIAtom* aName,
                          nsAString& aResult) const;
   virtual bool HasAttr(int32_t aNameSpaceID, nsIAtom* aName) const;
   // aCaseSensitive == eIgnoreCaase means ASCII case-insensitive matching.
   virtual bool AttrValueIs(int32_t aNameSpaceID, nsIAtom* aName,
                              const nsAString& aValue,
                              nsCaseTreatment aCaseSensitive) const;
   virtual bool AttrValueIs(int32_t aNameSpaceID, nsIAtom* aName,