Bug 1260353 - Remove unnecessary method AnimValuesStyleRule::AddPropertiesToSet() r?hiro draft
authorRyo Kato <foobar094@gmail.com>
Tue, 29 Mar 2016 16:12:33 +0900
changeset 345389 12137c6ba83c1fa4a10d8cd42a99d0a663a8429e
parent 345348 a66bf0a800f3d859b4bd2ceebc57b2e3fa6544d8
child 517190 bcb6fdaf97e8987be95f0f1d72ebc1af07abc5ee
push id14084
push userbmo:foobar094@gmail.com
push dateTue, 29 Mar 2016 07:13:24 +0000
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