зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1354947 - Rename FillKeyframesForName to GetKeyframesForName. r=birtles
MozReview-Commit-ID: AOLygEtuhpO --HG-- extra : rebase_source : 2db2a183588a44fc33e0e7bff44847813a72cb74
This commit is contained in:
Родитель
c115978360
Коммит
b57fed9509
|
@ -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,
|
||||
|
|
|
@ -907,7 +907,7 @@ ServoStyleSet::AssertTreeIsClean()
|
|||
#endif
|
||||
|
||||
bool
|
||||
ServoStyleSet::FillKeyframesForName(const nsString& aName,
|
||||
ServoStyleSet::GetKeyframesForName(const nsString& aName,
|
||||
const nsTimingFunction& aTimingFunction,
|
||||
const ServoComputedValues* aComputedValues,
|
||||
nsTArray<Keyframe>& aKeyframes)
|
||||
|
@ -915,7 +915,7 @@ ServoStyleSet::FillKeyframesForName(const nsString& aName,
|
|||
MaybeRebuildStylist();
|
||||
|
||||
NS_ConvertUTF16toUTF8 name(aName);
|
||||
return Servo_StyleSet_FillKeyframesForName(mRawSet.get(),
|
||||
return Servo_StyleSet_GetKeyframesForName(mRawSet.get(),
|
||||
&name,
|
||||
&aTimingFunction,
|
||||
aComputedValues,
|
||||
|
|
|
@ -297,7 +297,7 @@ public:
|
|||
*/
|
||||
already_AddRefed<ServoComputedValues> ResolveServoStyle(dom::Element* aElement);
|
||||
|
||||
bool FillKeyframesForName(const nsString& aName,
|
||||
bool GetKeyframesForName(const nsString& aName,
|
||||
const nsTimingFunction& aTimingFunction,
|
||||
const ServoComputedValues* aComputedValues,
|
||||
nsTArray<Keyframe>& aKeyframes);
|
||||
|
|
|
@ -421,7 +421,7 @@ public:
|
|||
ServoStyleSet* styleSet = aPresContext->StyleSet()->AsServo();
|
||||
MOZ_ASSERT(styleSet);
|
||||
const nsTimingFunction& timingFunction = aSrc.GetTimingFunction();
|
||||
return styleSet->FillKeyframesForName(aSrc.GetName(),
|
||||
return styleSet->GetKeyframesForName(aSrc.GetName(),
|
||||
timingFunction,
|
||||
mComputedValues,
|
||||
aKeyframes);
|
||||
|
|
Загрузка…
Ссылка в новой задаче