Bug 1322589 - Correct description of StyleAnimationValue::Accumulate; r?hiro draft
authorBrian Birtles <birtles@gmail.com>
Thu, 08 Dec 2016 14:45:57 -1000
changeset 448045 3ee15a1c9dc044e3d51d15f4f05e547f327ebb21
parent 447934 d8f63b2935af0915a6a24b3ea8e27d9a09f66416
child 539197 46e9dc61a331cfb72ecea10ed233256987ec36f8
push id38242
push userbbirtles@mozilla.com
push dateFri, 09 Dec 2016 00:49:40 +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