Issue #1705 - Part 1: Rename nsChangeHint_CSSOverflowChange to *ScrollbarChange.

Prepare for scrollbar-width which should trigger the same kind of change.
This commit is contained in:
Moonchild 2021-01-06 10:35:21 +00:00 committed by roytam1
commit e993607a88
3 changed files with 7 additions and 7 deletions

View file

@ -3264,7 +3264,7 @@ nsStyleDisplay::CalcDifference(const nsStyleDisplay& aNewData) const
if (mOverflowX != aNewData.mOverflowX
|| mOverflowY != aNewData.mOverflowY) {
hint |= nsChangeHint_CSSOverflowChange;
hint |= nsChangeHint_ScrollbarChange;
}
/* Note: When mScrollBehavior, mScrollSnapTypeX, mScrollSnapTypeY,