Bug 1311257 - Update comment refering to
bug 1311257. r?birtles
MozReview-Commit-ID: EM1dYILDlzS
--- a/layout/base/nsLayoutUtils.cpp
+++ b/layout/base/nsLayoutUtils.cpp
@@ -590,17 +590,17 @@ GetMinAndMaxScaleForAnimationProperty(co
if (prop.mProperty != eCSSProperty_transform) {
continue;
}
// We need to factor in the scale of the base style if the base style
// will be used on the compositor.
StyleAnimationValue baseStyle = effect->BaseStyle(prop.mProperty);
if (!baseStyle.IsNull()) {
- // FIXME: Bug 1311257: We need to get the baseStyle for
+ // FIXME: Bug 1334036: We need to get the baseStyle for
// RawServoAnimationValue.
UpdateMinMaxScale(aFrame, { baseStyle, nullptr }, aMinScale, aMaxScale);
}
for (const AnimationPropertySegment& segment : prop.mSegments) {
// In case of add or accumulate composite, StyleAnimationValue does
// not have a valid value.
if (segment.HasReplaceableFromValue()) {
--- a/layout/painting/nsDisplayList.cpp
+++ b/layout/painting/nsDisplayList.cpp
@@ -553,17 +553,17 @@ AddAnimationForProperty(nsIFrame* aFrame
TransformReferenceBox refBox(aFrame);
// If the animation is additive or accumulates, we need to pass its base value
// to the compositor.
StyleAnimationValue baseStyle =
aAnimation->GetEffect()->AsKeyframeEffect()->BaseStyle(aProperty.mProperty);
if (!baseStyle.IsNull()) {
- // FIXME: Bug 1311257: We need to get the baseValue for
+ // FIXME: Bug 1334036: We need to get the baseValue for
// RawServoAnimationValue.
SetAnimatable(aProperty.mProperty,
{ baseStyle, nullptr },
aFrame, refBox,
animation->baseStyle());
} else {
animation->baseStyle() = null_t();
}
--- a/layout/style/nsComputedDOMStyle.cpp
+++ b/layout/style/nsComputedDOMStyle.cpp
@@ -531,17 +531,17 @@ public:
already_AddRefed<nsStyleContext>
ResolveWithoutAnimation(StyleSetHandle aStyleSet,
Element* aElement,
CSSPseudoElementType aType,
nsStyleContext* aParentContext,
bool aInDocWithShell)
{
MOZ_ASSERT(!aStyleSet->IsServo(),
- "Bug 1311257: Servo backend does not support the base value yet");
+ "Servo backend should not use this function");
MOZ_ASSERT(mAnimationFlag == nsComputedDOMStyle::eWithoutAnimation,
"AnimationFlag should be eWithoutAnimation");
RefPtr<nsStyleContext> result;
if (aType != CSSPseudoElementType::NotPseudo) {
nsIFrame* frame = nsLayoutUtils::GetStyleFrame(aElement);
Element* pseudoElement =