Bug 1322589 - Correct description of StyleAnimationValue::Accumulate; r=hiro
authorBrian Birtles <birtles@gmail.com>
Thu, 08 Dec 2016 14:45:57 -1000
changeset 325432 fd3076e08f1147d1e71b8052bc5d9b6ef07df267
parent 325431 3be54c62e0011dca5367be2a04e54bc6882f1908
child 325433 4de97a01678bc55bf39daea37fd487ec52e5714c
push id24
push usermaklebus@msu.edu
push dateTue, 20 Dec 2016 03:11:33 +0000
reviewershiro
bugs1322589
milestone53.0a1
Bug 1322589 - Correct description of StyleAnimationValue::Accumulate; r=hiro MozReview-Commit-ID: 39gWkeIs11F
layout/style/StyleAnimationValue.h
--- a/layout/style/StyleAnimationValue.h
+++ b/layout/style/StyleAnimationValue.h
@@ -142,20 +142,20 @@ public:
    */
   static MOZ_MUST_USE bool
   AddWeighted(nsCSSPropertyID aProperty,
               double aCoeff1, const StyleAnimationValue& aValue1,
               double aCoeff2, const StyleAnimationValue& aValue2,
               StyleAnimationValue& aResultValue);
 
   /**
-   * Accumulates |aA| onto |aA| |aCount| times then accumulates |aB| onto the
-   * result.
+   * Accumulates |aA| onto |aA| (|aCount| - 1) times then accumulates |aB| onto
+   * the result.
    * If |aCount| is zero or no accumulation or addition procedure is defined
-   * for |aProperty| the result will be |aB|.
+   * for |aProperty|, the result will be |aB|.
    */
   static StyleAnimationValue
   Accumulate(nsCSSPropertyID aProperty,
              const StyleAnimationValue& aA,
              StyleAnimationValue&& aB,
              uint64_t aCount = 1);
 
   // Type-conversion methods