diff --git a/layout/style/ServoBindingList.h b/layout/style/ServoBindingList.h index 8e3e31cf67da..468458a9b191 100644 --- a/layout/style/ServoBindingList.h +++ b/layout/style/ServoBindingList.h @@ -68,7 +68,7 @@ SERVO_BINDING_FUNC(Servo_StyleSet_InsertStyleSheetBefore, void, SERVO_BINDING_FUNC(Servo_StyleSet_FlushStyleSheets, void, RawServoStyleSetBorrowed set) SERVO_BINDING_FUNC(Servo_StyleSet_NoteStyleSheetsChanged, void, RawServoStyleSetBorrowed set, bool author_style_disabled) -SERVO_BINDING_FUNC(Servo_StyleSet_FillKeyframesForName, bool, +SERVO_BINDING_FUNC(Servo_StyleSet_GetKeyframesForName, bool, RawServoStyleSetBorrowed set, const nsACString* property, nsTimingFunctionBorrowed timing_function, diff --git a/layout/style/ServoStyleSet.cpp b/layout/style/ServoStyleSet.cpp index c8a3624185ff..dbfcb3ac9160 100644 --- a/layout/style/ServoStyleSet.cpp +++ b/layout/style/ServoStyleSet.cpp @@ -907,19 +907,19 @@ ServoStyleSet::AssertTreeIsClean() #endif bool -ServoStyleSet::FillKeyframesForName(const nsString& aName, - const nsTimingFunction& aTimingFunction, - const ServoComputedValues* aComputedValues, - nsTArray& aKeyframes) +ServoStyleSet::GetKeyframesForName(const nsString& aName, + const nsTimingFunction& aTimingFunction, + const ServoComputedValues* aComputedValues, + nsTArray& aKeyframes) { MaybeRebuildStylist(); NS_ConvertUTF16toUTF8 name(aName); - return Servo_StyleSet_FillKeyframesForName(mRawSet.get(), - &name, - &aTimingFunction, - aComputedValues, - &aKeyframes); + return Servo_StyleSet_GetKeyframesForName(mRawSet.get(), + &name, + &aTimingFunction, + aComputedValues, + &aKeyframes); } nsTArray diff --git a/layout/style/ServoStyleSet.h b/layout/style/ServoStyleSet.h index a5150264e761..da77175f0662 100644 --- a/layout/style/ServoStyleSet.h +++ b/layout/style/ServoStyleSet.h @@ -297,10 +297,10 @@ public: */ already_AddRefed ResolveServoStyle(dom::Element* aElement); - bool FillKeyframesForName(const nsString& aName, - const nsTimingFunction& aTimingFunction, - const ServoComputedValues* aComputedValues, - nsTArray& aKeyframes); + bool GetKeyframesForName(const nsString& aName, + const nsTimingFunction& aTimingFunction, + const ServoComputedValues* aComputedValues, + nsTArray& aKeyframes); nsTArray GetComputedKeyframeValuesFor(const nsTArray& aKeyframes, diff --git a/layout/style/nsAnimationManager.cpp b/layout/style/nsAnimationManager.cpp index ec3b5de49e27..995ce265c763 100644 --- a/layout/style/nsAnimationManager.cpp +++ b/layout/style/nsAnimationManager.cpp @@ -421,10 +421,10 @@ public: ServoStyleSet* styleSet = aPresContext->StyleSet()->AsServo(); MOZ_ASSERT(styleSet); const nsTimingFunction& timingFunction = aSrc.GetTimingFunction(); - return styleSet->FillKeyframesForName(aSrc.GetName(), - timingFunction, - mComputedValues, - aKeyframes); + return styleSet->GetKeyframesForName(aSrc.GetName(), + timingFunction, + mComputedValues, + aKeyframes); } void SetKeyframes(KeyframeEffectReadOnly& aEffect, nsTArray&& aKeyframes)