mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 906116 - part4: Remove NS_STYLE_HINT_FRAMECHANGE. r=dbaron
MozReview-Commit-ID: IXPWY2B6k48 --HG-- extra : rebase_source : 63c31419f19c6fdfaebab4947cb881fe9ed7a820
This commit is contained in:
parent
160b96f9a4
commit
b915e25c11
@ -5172,11 +5172,7 @@ RestyleManager::ChangeHintToString(nsChangeHint aHint)
|
||||
hint = 0;
|
||||
any = true;
|
||||
} else {
|
||||
if ((hint & NS_STYLE_HINT_FRAMECHANGE) == NS_STYLE_HINT_FRAMECHANGE) {
|
||||
result.AppendLiteral("NS_STYLE_HINT_FRAMECHANGE");
|
||||
hint = hint & ~NS_STYLE_HINT_FRAMECHANGE;
|
||||
any = true;
|
||||
} else if ((hint & NS_STYLE_HINT_REFLOW) == NS_STYLE_HINT_REFLOW) {
|
||||
if ((hint & NS_STYLE_HINT_REFLOW) == NS_STYLE_HINT_REFLOW) {
|
||||
result.AppendLiteral("NS_STYLE_HINT_REFLOW");
|
||||
hint = hint & ~NS_STYLE_HINT_REFLOW;
|
||||
any = true;
|
||||
|
@ -359,8 +359,6 @@ inline nsChangeHint NS_HintsNotHandledForDescendantsIn(nsChangeHint aChangeHint)
|
||||
nsChangeHint_NeedDirtyReflow)
|
||||
#define NS_STYLE_HINT_REFLOW \
|
||||
nsChangeHint(NS_STYLE_HINT_VISUAL | nsChangeHint_AllReflowHints)
|
||||
#define NS_STYLE_HINT_FRAMECHANGE \
|
||||
nsChangeHint(NS_STYLE_HINT_REFLOW | nsChangeHint_ReconstructFrame)
|
||||
|
||||
#define nsChangeHint_Hints_CanIgnoreIfNotVisible \
|
||||
nsChangeHint(NS_STYLE_HINT_VISUAL | \
|
||||
|
Loading…
Reference in New Issue
Block a user