Bug 1370019 - Rename UpadataEffectSet to UpdateEffectSet; r?cku draft
authorBrian Birtles <birtles@gmail.com>
Tue, 20 Jun 2017 15:42:26 +0900
changeset 597118 26becf424a1617a06d2a9b25b33faa5d82cccfb1
parent 597026 416c3c8c4b3db9ba96a103ce7820c9a140a3051d
child 634147 a8d04aeebc4132a859cead5d295065e0afb7b118
push id64842
push userbbirtles@mozilla.com
push dateTue, 20 Jun 2017 06:42:59 +0000
reviewerscku
bugs1370019
milestone56.0a1
Bug 1370019 - Rename UpadataEffectSet to UpdateEffectSet; r?cku MozReview-Commit-ID: DbGvHjpr7xx
dom/animation/KeyframeEffectReadOnly.cpp
dom/animation/KeyframeEffectReadOnly.h
--- a/dom/animation/KeyframeEffectReadOnly.cpp
+++ b/dom/animation/KeyframeEffectReadOnly.cpp
@@ -344,17 +344,17 @@ KeyframeEffectReadOnly::DoUpdateProperti
 
   for (const AnimationProperty& property : mProperties) {
     if (property.mIsRunningOnCompositor) {
       runningOnCompositorProperties.AddProperty(property.mProperty);
     }
   }
 
   mProperties = Move(properties);
-  UpadateEffectSet();
+  UpdateEffectSet();
 
   for (AnimationProperty& property : mProperties) {
     property.mIsRunningOnCompositor =
       runningOnCompositorProperties.HasProperty(property.mProperty);
   }
 
   CalculateCumulativeChangeHint(aStyle);
 
@@ -956,17 +956,17 @@ KeyframeEffectReadOnly::UpdateTargetRegi
   // Animation::IsRelevant() should be up-to-date by the time we get here.
   MOZ_ASSERT(isRelevant == IsCurrent() || IsInEffect(),
              "Out of date Animation::IsRelevant value");
 
   if (isRelevant) {
     EffectSet* effectSet =
       EffectSet::GetOrCreateEffectSet(mTarget->mElement, mTarget->mPseudoType);
     effectSet->AddEffect(*this);
-    UpadateEffectSet(effectSet);
+    UpdateEffectSet(effectSet);
   } else {
     UnregisterTarget();
   }
 }
 
 void
 KeyframeEffectReadOnly::UnregisterTarget()
 {
@@ -1827,17 +1827,17 @@ KeyframeEffectReadOnly::ContainsAnimated
       }
     }
   }
 
   return false;
 }
 
 void
-KeyframeEffectReadOnly::UpadateEffectSet(EffectSet* aEffectSet) const
+KeyframeEffectReadOnly::UpdateEffectSet(EffectSet* aEffectSet) const
 {
   EffectSet* effectSet =
     aEffectSet ? aEffectSet
                : EffectSet::GetEffectSet(mTarget->mElement,
                                          mTarget->mPseudoType);
   if (!effectSet) {
     return;
   }
--- a/dom/animation/KeyframeEffectReadOnly.h
+++ b/dom/animation/KeyframeEffectReadOnly.h
@@ -459,17 +459,17 @@ private:
   // limitation is stored in |aOutPerformanceWarning|.
   static bool CanAnimateTransformOnCompositor(
     const nsIFrame* aFrame,
     AnimationPerformanceWarning::Type& aPerformanceWarning);
   static bool IsGeometricProperty(const nsCSSPropertyID aProperty);
 
   static const TimeDuration OverflowRegionRefreshInterval();
 
-  void UpadateEffectSet(mozilla::EffectSet* aEffectSet = nullptr) const;
+  void UpdateEffectSet(mozilla::EffectSet* aEffectSet = nullptr) const;
 
   // FIXME: This flag will be removed in bug 1324966.
   bool mIsComposingStyle = false;
 };
 
 } // namespace dom
 } // namespace mozilla