mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 16:22:00 +00:00
Bug 1287308 - part2: remove old NS_STYLE_HINT_NONE constant. r=dbaron
Remove NS_STYLE_HINT_NONE definition in nsChangeHint. Fix related debug log in RestyleManager. MozReview-Commit-ID: 4pA8u8MQDnv --HG-- extra : rebase_source : 66bbfa54eb35f1de2318787a610b6e401262b28a
This commit is contained in:
parent
9d8ddf9b2d
commit
3f03fe838d
@ -5151,7 +5151,7 @@ RestyleManager::ChangeHintToString(nsChangeHint aHint)
|
||||
result.AppendPrintf("0x%0x", rest);
|
||||
} else {
|
||||
if (!any) {
|
||||
result.AppendLiteral("NS_STYLE_HINT_NONE");
|
||||
result.AppendLiteral("nsChangeHint(0)");
|
||||
}
|
||||
}
|
||||
return result;
|
||||
|
@ -346,8 +346,6 @@ inline nsChangeHint NS_HintsNotHandledForDescendantsIn(nsChangeHint aChangeHint)
|
||||
}
|
||||
|
||||
// Redefine the old NS_STYLE_HINT constants in terms of the new hint structure
|
||||
#define NS_STYLE_HINT_NONE \
|
||||
nsChangeHint(0)
|
||||
#define NS_STYLE_HINT_VISUAL \
|
||||
nsChangeHint(nsChangeHint_RepaintFrame | nsChangeHint_SyncFrameView | \
|
||||
nsChangeHint_SchedulePaint)
|
||||
|
Loading…
Reference in New Issue
Block a user