Bug 1654575 - Remove unused field nsPresContext::mExistThrottledUpdates. r=emilio

Differential Revision: https://phabricator.services.mozilla.com/D84541
This commit is contained in:
Jonathan Kew 2020-07-23 17:28:27 +00:00
Родитель c685d51914
Коммит 01100e3c09
2 изменённых файлов: 0 добавлений и 12 удалений

Просмотреть файл

@ -180,7 +180,6 @@ nsPresContext::nsPresContext(dom::Document* aDocument, nsPresContextType aType)
mPPScale(1.0f),
mViewportScrollOverrideElement(nullptr),
mViewportScrollStyles(StyleOverflow::Auto, StyleOverflow::Auto),
mExistThrottledUpdates(false),
// mImageAnimationMode is initialised below, in constructor body
mImageAnimationModePref(imgIContainer::kNormalAnimMode),
mInterruptChecksToSkip(0),

Просмотреть файл

@ -1033,15 +1033,6 @@ class nsPresContext : public nsISupports, public mozilla::SupportsWeakPtr {
void SetUsesExChUnits(bool aValue) { mUsesExChUnits = aValue; }
// true if there are OMTA transition updates for the current document which
// have been throttled, and therefore some style information may not be up
// to date
bool ExistThrottledUpdates() const { return mExistThrottledUpdates; }
void SetExistThrottledUpdates(bool aExistThrottledUpdates) {
mExistThrottledUpdates = aExistThrottledUpdates;
}
bool IsDeviceSizePageSize();
bool HasWarnedAboutPositionedTableParts() const {
@ -1231,8 +1222,6 @@ class nsPresContext : public nsISupports, public mozilla::SupportsWeakPtr {
mozilla::dom::Element* MOZ_NON_OWNING_REF mViewportScrollOverrideElement;
ScrollStyles mViewportScrollStyles;
bool mExistThrottledUpdates;
uint16_t mImageAnimationMode;
uint16_t mImageAnimationModePref;