Bug 1260353 - Remove unnecessary method AnimValuesStyleRule::AddPropertiesToSet() r=hiro
authorRyo Kato <foobar094@gmail.com>
Tue, 29 Mar 2016 16:12:33 +0900
changeset 290918 b8d9e729d5b2637db9962da12633b41fc56e0898
parent 290917 80660b035524486c182f75a780009141c714e879
child 290919 c0fa17b1195d11c2f94fc04c48bbbebb1667c80d
push id19656
push usergwagner@mozilla.com
push dateMon, 04 Apr 2016 13:43:23 +0000
treeherderb2g-inbound@e99061fde28a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewershiro
bugs1260353
milestone48.0a1
Bug 1260353 - Remove unnecessary method AnimValuesStyleRule::AddPropertiesToSet() r=hiro MozReview-Commit-ID: 3rRvYLNCvXE
dom/animation/AnimValuesStyleRule.h
--- a/dom/animation/AnimValuesStyleRule.h
+++ b/dom/animation/AnimValuesStyleRule.h
@@ -54,23 +54,16 @@ public:
     return &p->mValue;
   }
 
   struct PropertyValuePair {
     nsCSSProperty mProperty;
     StyleAnimationValue mValue;
   };
 
-  void AddPropertiesToSet(nsCSSPropertySet& aSet) const
-  {
-    for (const PropertyValuePair& cv : mPropertyValuePairs) {
-      aSet.AddProperty(cv.mProperty);
-    }
-  }
-
 private:
   ~AnimValuesStyleRule() {}
 
   InfallibleTArray<PropertyValuePair> mPropertyValuePairs;
   uint32_t mStyleBits;
 };
 
 } // namespace mozilla