Bug 655877 - Part 11b: Use the right hints when reflowing due to dominant-baseline change. r=jwatt

This commit is contained in:
Cameron McCormack 2013-02-11 17:22:16 +11:00
parent 3c9939ceca
commit a867cdc272
2 changed files with 2 additions and 5 deletions

View File

@ -1009,8 +1009,7 @@ nsChangeHint nsStyleSVGReset::CalcDifference(const nsStyleSVGReset& aOther) cons
NS_UpdateHint(hint, nsChangeHint_AllReflowHints);
NS_UpdateHint(hint, nsChangeHint_RepaintFrame);
} else if (mDominantBaseline != aOther.mDominantBaseline) {
NS_UpdateHint(hint, nsChangeHint_NeedReflow);
NS_UpdateHint(hint, nsChangeHint_NeedDirtyReflow);
NS_UpdateHint(hint, NS_STYLE_HINT_REFLOW);
} else if (mStopColor != aOther.mStopColor ||
mFloodColor != aOther.mFloodColor ||
mLightingColor != aOther.mLightingColor ||

View File

@ -2266,9 +2266,7 @@ struct nsStyleSVGReset {
nsChangeHint CalcDifference(const nsStyleSVGReset& aOther) const;
static nsChangeHint MaxDifference() {
return NS_CombineHint(NS_CombineHint(nsChangeHint_UpdateEffects,
nsChangeHint_AllReflowHints),
nsChangeHint_RepaintFrame);
return NS_CombineHint(nsChangeHint_UpdateEffects, NS_STYLE_HINT_REFLOW);
}
nsCOMPtr<nsIURI> mClipPath; // [reset]