From 01100e3c09c3babc6410bde8eaadb9b82b2d4532 Mon Sep 17 00:00:00 2001 From: Jonathan Kew Date: Thu, 23 Jul 2020 17:28:27 +0000 Subject: [PATCH] Bug 1654575 - Remove unused field nsPresContext::mExistThrottledUpdates. r=emilio Differential Revision: https://phabricator.services.mozilla.com/D84541 --- layout/base/nsPresContext.cpp | 1 - layout/base/nsPresContext.h | 11 ----------- 2 files changed, 12 deletions(-) diff --git a/layout/base/nsPresContext.cpp b/layout/base/nsPresContext.cpp index b81cad4c1b07..a0568a05e49a 100644 --- a/layout/base/nsPresContext.cpp +++ b/layout/base/nsPresContext.cpp @@ -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), diff --git a/layout/base/nsPresContext.h b/layout/base/nsPresContext.h index 0cdaaa7f4673..f3f8100c7356 100644 --- a/layout/base/nsPresContext.h +++ b/layout/base/nsPresContext.h @@ -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;