Bug 1366474: Devirtualize Element::{Get,Set}SMILOverrideStyleDeclaration. r?birtles draft
authorEmilio Cobos Álvarez <emilio@crisal.io>
Sat, 20 May 2017 12:59:33 +0200
changeset 581960 d2f85b6184af4a11e0d1dc19410cdd718c178153
parent 581958 4626a38a87fcd1046ec43d12a95d386d88ad4108
child 581961 c8c65c2fd29d8200b62daea192c951bea905e268
push id59926
push userbmo:emilio+bugs@crisal.io
push dateSat, 20 May 2017 11:05:20 +0000
reviewersbirtles
bugs1366474
milestone55.0a1
Bug 1366474: Devirtualize Element::{Get,Set}SMILOverrideStyleDeclaration. r?birtles MozReview-Commit-ID: JYLt6lE0bZt
dom/base/Element.h
--- a/dom/base/Element.h
+++ b/dom/base/Element.h
@@ -324,25 +324,25 @@ public:
   virtual nsresult SetInlineStyleDeclaration(DeclarationBlock* aDeclaration,
                                              const nsAString* aSerialized,
                                              bool aNotify);
 
   /**
    * Get the SMIL override style declaration for this element. If the
    * rule hasn't been created, this method simply returns null.
    */
-  virtual DeclarationBlock* GetSMILOverrideStyleDeclaration();
+  DeclarationBlock* GetSMILOverrideStyleDeclaration();
 
   /**
    * Set the SMIL override style declaration for this element. If
    * aNotify is true, this method will notify the document's pres
    * context, so that the style changes will be noticed.
    */
-  virtual nsresult SetSMILOverrideStyleDeclaration(
-    DeclarationBlock* aDeclaration, bool aNotify);
+  nsresult SetSMILOverrideStyleDeclaration(DeclarationBlock* aDeclaration,
+                                           bool aNotify);
 
   /**
    * Returns a new nsISMILAttr that allows the caller to animate the given
    * attribute on this element.
    */
   virtual UniquePtr<nsISMILAttr> GetAnimatedAttr(int32_t aNamespaceID,
                                                  nsIAtom* aName)
   {