Bug 1322589 - Correct description of StyleAnimationValue::Accumulate; r=hiro
authorBrian Birtles <birtles@gmail.com>
Thu, 08 Dec 2016 14:45:57 -1000
changeset 325399 fd3076e08f1147d1e71b8052bc5d9b6ef07df267
parent 325398 3be54c62e0011dca5367be2a04e54bc6882f1908
child 325400 4de97a01678bc55bf39daea37fd487ec52e5714c
push id31053
push usercbook@mozilla.com
push dateFri, 09 Dec 2016 12:31:17 +0000
treeherdermozilla-central@88e0fb654a10 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewershiro
bugs1322589
milestone53.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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