Bug 1370019 - Rename UpadataEffectSet to UpdateEffectSet; r?cku
MozReview-Commit-ID: DbGvHjpr7xx
--- 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