зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 34c54dbb1b7d (bug 906116)
This commit is contained in:
Родитель
45017d7986
Коммит
cb8e0bf0b1
|
@ -1435,8 +1435,8 @@ struct MOZ_NEEDS_MEMMOVABLE_MEMBERS nsStyleList
|
|||
|
||||
nsChangeHint CalcDifference(const nsStyleList& aNewData) const;
|
||||
static nsChangeHint MaxDifference() {
|
||||
return nsChangeHint_ReconstructFrame |
|
||||
NS_STYLE_HINT_REFLOW;
|
||||
return NS_STYLE_HINT_FRAMECHANGE |
|
||||
nsChangeHint_NeutralChange;
|
||||
}
|
||||
static nsChangeHint DifferenceAlwaysHandledForDescendants() {
|
||||
// CalcDifference never returns the reflow hints that are sometimes
|
||||
|
@ -1998,8 +1998,7 @@ struct MOZ_NEEDS_MEMMOVABLE_MEMBERS nsStyleText
|
|||
|
||||
nsChangeHint CalcDifference(const nsStyleText& aNewData) const;
|
||||
static nsChangeHint MaxDifference() {
|
||||
return nsChangeHint_ReconstructFrame |
|
||||
NS_STYLE_HINT_REFLOW |
|
||||
return NS_STYLE_HINT_FRAMECHANGE |
|
||||
nsChangeHint_UpdateSubtreeOverflow |
|
||||
nsChangeHint_NeutralChange;
|
||||
}
|
||||
|
@ -2219,8 +2218,7 @@ struct MOZ_NEEDS_MEMMOVABLE_MEMBERS nsStyleVisibility
|
|||
|
||||
nsChangeHint CalcDifference(const nsStyleVisibility& aNewData) const;
|
||||
static nsChangeHint MaxDifference() {
|
||||
return nsChangeHint_ReconstructFrame |
|
||||
NS_STYLE_HINT_REFLOW |
|
||||
return NS_STYLE_HINT_FRAMECHANGE |
|
||||
nsChangeHint_NeutralChange;
|
||||
}
|
||||
static nsChangeHint DifferenceAlwaysHandledForDescendants() {
|
||||
|
@ -2503,8 +2501,7 @@ struct MOZ_NEEDS_MEMMOVABLE_MEMBERS nsStyleDisplay
|
|||
nsChangeHint CalcDifference(const nsStyleDisplay& aNewData) const;
|
||||
static nsChangeHint MaxDifference() {
|
||||
// All the parts of FRAMECHANGE are present in CalcDifference.
|
||||
return nsChangeHint(nsChangeHint_ReconstructFrame |
|
||||
NS_STYLE_HINT_REFLOW |
|
||||
return nsChangeHint(NS_STYLE_HINT_FRAMECHANGE |
|
||||
nsChangeHint_UpdateTransformLayer |
|
||||
nsChangeHint_UpdateOverflow |
|
||||
nsChangeHint_UpdatePostTransformOverflow |
|
||||
|
@ -2775,7 +2772,7 @@ struct MOZ_NEEDS_MEMMOVABLE_MEMBERS nsStyleTable
|
|||
|
||||
nsChangeHint CalcDifference(const nsStyleTable& aNewData) const;
|
||||
static nsChangeHint MaxDifference() {
|
||||
return nsChangeHint_ReconstructFrame;
|
||||
return NS_STYLE_HINT_FRAMECHANGE;
|
||||
}
|
||||
static nsChangeHint DifferenceAlwaysHandledForDescendants() {
|
||||
// CalcDifference never returns the reflow hints that are sometimes
|
||||
|
@ -2808,8 +2805,7 @@ struct MOZ_NEEDS_MEMMOVABLE_MEMBERS nsStyleTableBorder
|
|||
|
||||
nsChangeHint CalcDifference(const nsStyleTableBorder& aNewData) const;
|
||||
static nsChangeHint MaxDifference() {
|
||||
return nsChangeHint_ReconstructFrame |
|
||||
NS_STYLE_HINT_REFLOW;
|
||||
return NS_STYLE_HINT_FRAMECHANGE;
|
||||
}
|
||||
static nsChangeHint DifferenceAlwaysHandledForDescendants() {
|
||||
// CalcDifference never returns the reflow hints that are sometimes
|
||||
|
@ -2905,8 +2901,7 @@ struct MOZ_NEEDS_MEMMOVABLE_MEMBERS nsStyleContent
|
|||
|
||||
nsChangeHint CalcDifference(const nsStyleContent& aNewData) const;
|
||||
static nsChangeHint MaxDifference() {
|
||||
return nsChangeHint_ReconstructFrame |
|
||||
NS_STYLE_HINT_REFLOW;
|
||||
return NS_STYLE_HINT_FRAMECHANGE;
|
||||
}
|
||||
static nsChangeHint DifferenceAlwaysHandledForDescendants() {
|
||||
// CalcDifference never returns the reflow hints that are sometimes
|
||||
|
@ -3021,8 +3016,7 @@ struct MOZ_NEEDS_MEMMOVABLE_MEMBERS nsStyleUIReset
|
|||
|
||||
nsChangeHint CalcDifference(const nsStyleUIReset& aNewData) const;
|
||||
static nsChangeHint MaxDifference() {
|
||||
return nsChangeHint_ReconstructFrame |
|
||||
NS_STYLE_HINT_REFLOW;
|
||||
return NS_STYLE_HINT_FRAMECHANGE;
|
||||
}
|
||||
static nsChangeHint DifferenceAlwaysHandledForDescendants() {
|
||||
// CalcDifference never returns the reflow hints that are sometimes
|
||||
|
@ -3090,10 +3084,7 @@ struct MOZ_NEEDS_MEMMOVABLE_MEMBERS nsStyleUserInterface
|
|||
|
||||
nsChangeHint CalcDifference(const nsStyleUserInterface& aNewData) const;
|
||||
static nsChangeHint MaxDifference() {
|
||||
return nsChangeHint_ReconstructFrame |
|
||||
nsChangeHint_NeedReflow |
|
||||
nsChangeHint_NeedDirtyReflow |
|
||||
NS_STYLE_HINT_VISUAL |
|
||||
return NS_STYLE_HINT_FRAMECHANGE |
|
||||
nsChangeHint_UpdateCursor |
|
||||
nsChangeHint_NeutralChange;
|
||||
}
|
||||
|
@ -3144,8 +3135,7 @@ struct MOZ_NEEDS_MEMMOVABLE_MEMBERS nsStyleXUL
|
|||
|
||||
nsChangeHint CalcDifference(const nsStyleXUL& aNewData) const;
|
||||
static nsChangeHint MaxDifference() {
|
||||
return nsChangeHint_ReconstructFrame |
|
||||
NS_STYLE_HINT_REFLOW;
|
||||
return NS_STYLE_HINT_FRAMECHANGE;
|
||||
}
|
||||
static nsChangeHint DifferenceAlwaysHandledForDescendants() {
|
||||
// CalcDifference never returns the reflow hints that are sometimes
|
||||
|
@ -3183,8 +3173,7 @@ struct MOZ_NEEDS_MEMMOVABLE_MEMBERS nsStyleColumn
|
|||
|
||||
nsChangeHint CalcDifference(const nsStyleColumn& aNewData) const;
|
||||
static nsChangeHint MaxDifference() {
|
||||
return nsChangeHint_ReconstructFrame |
|
||||
NS_STYLE_HINT_REFLOW |
|
||||
return NS_STYLE_HINT_FRAMECHANGE |
|
||||
nsChangeHint_NeutralChange;
|
||||
}
|
||||
static nsChangeHint DifferenceAlwaysHandledForDescendants() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче