зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1666617 - Fix a typo in the word viewport. r=smaug
Depends on D91379 Differential Revision: https://phabricator.services.mozilla.com/D91380
This commit is contained in:
Родитель
cfe587cb72
Коммит
1619a5f700
|
@ -1631,7 +1631,7 @@ auto nsRefreshDriver::GetReasonsToTick() const -> TickReasons {
|
|||
reasons |= TickReasons::eHasScrollEvents;
|
||||
}
|
||||
if (!mVisualViewportScrollEvents.IsEmpty()) {
|
||||
reasons |= TickReasons::eHasVisualVieportScrollEvents;
|
||||
reasons |= TickReasons::eHasVisualViewportScrollEvents;
|
||||
}
|
||||
return reasons;
|
||||
}
|
||||
|
@ -1660,8 +1660,8 @@ void nsRefreshDriver::AppendTickReasonsToString(TickReasons aReasons,
|
|||
if (aReasons & TickReasons::eHasScrollEvents) {
|
||||
aStr.AppendLiteral(" HasScrollEvents");
|
||||
}
|
||||
if (aReasons & TickReasons::eHasVisualVieportScrollEvents) {
|
||||
aStr.AppendLiteral(" HasVisualVieportScrollEvents");
|
||||
if (aReasons & TickReasons::eHasVisualViewportScrollEvents) {
|
||||
aStr.AppendLiteral(" HasVisualViewportScrollEvents");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -415,7 +415,7 @@ class nsRefreshDriver final : public mozilla::layers::TransactionIdAllocator,
|
|||
eNeedsToUpdateIntersectionObservations = 1 << 2,
|
||||
eHasVisualViewportResizeEvents = 1 << 3,
|
||||
eHasScrollEvents = 1 << 4,
|
||||
eHasVisualVieportScrollEvents = 1 << 5,
|
||||
eHasVisualViewportScrollEvents = 1 << 5,
|
||||
};
|
||||
|
||||
private:
|
||||
|
|
Загрузка…
Ссылка в новой задаче