зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1244638 - Part 3: Rename method from NotifyTimingUpdate to PostSpecifiedTimingUpdated. r=birtles
MozReview-Commit-ID: H0fBTwqiZiS --HG-- extra : rebase_source : 7e26f38006faff26b0f1fbf66a1062b9b12d1ac4
This commit is contained in:
Родитель
b4e46e7179
Коммит
07b681672e
|
@ -19,11 +19,11 @@ AnimationEffectTiming::WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenPr
|
||||||
return AnimationEffectTimingBinding::Wrap(aCx, this, aGivenProto);
|
return AnimationEffectTimingBinding::Wrap(aCx, this, aGivenProto);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static inline void
|
||||||
AnimationEffectTiming::NotifyTimingUpdate()
|
PostSpecifiedTimingUpdated(KeyframeEffect* aEffect)
|
||||||
{
|
{
|
||||||
if (mEffect) {
|
if (aEffect) {
|
||||||
mEffect->NotifySpecifiedTimingUpdated();
|
aEffect->NotifySpecifiedTimingUpdated();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ AnimationEffectTiming::SetEndDelay(double aEndDelay)
|
||||||
}
|
}
|
||||||
mTiming.mEndDelay = endDelay;
|
mTiming.mEndDelay = endDelay;
|
||||||
|
|
||||||
NotifyTimingUpdate();
|
PostSpecifiedTimingUpdated(mEffect);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -54,7 +54,7 @@ AnimationEffectTiming::SetIterationStart(double aIterationStart,
|
||||||
|
|
||||||
mTiming.mIterationStart = aIterationStart;
|
mTiming.mIterationStart = aIterationStart;
|
||||||
|
|
||||||
NotifyTimingUpdate();
|
PostSpecifiedTimingUpdated(mEffect);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -73,7 +73,7 @@ AnimationEffectTiming::SetDuration(const UnrestrictedDoubleOrString& aDuration,
|
||||||
|
|
||||||
mTiming.mDuration = newDuration;
|
mTiming.mDuration = newDuration;
|
||||||
|
|
||||||
NotifyTimingUpdate();
|
PostSpecifiedTimingUpdated(mEffect);
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace dom
|
} // namespace dom
|
||||||
|
|
|
@ -30,7 +30,6 @@ public:
|
||||||
ErrorResult& aRv);
|
ErrorResult& aRv);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void NotifyTimingUpdate();
|
|
||||||
KeyframeEffect* MOZ_NON_OWNING_REF mEffect;
|
KeyframeEffect* MOZ_NON_OWNING_REF mEffect;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче