Bug 1729816 - part 2: Remove unused CompositableHost::BumpFlashCounter(). r=gfx-reviewers,mattwoodrow

Differential Revision: https://phabricator.services.mozilla.com/D125004
This commit is contained in:
Tetsuharu Ohzeki 2021-09-09 02:02:11 +00:00
Родитель 34efa74406
Коммит 0eff170956
2 изменённых файлов: 0 добавлений и 9 удалений

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

@ -32,7 +32,6 @@ CompositableHost::CompositableHost(const TextureInfo& aTextureInfo)
: mTextureInfo(aTextureInfo),
mCompositorBridgeID(0),
mLayer(nullptr),
mFlashCounter(0),
mAttached(false),
mKeepAttached(false) {
MOZ_COUNT_CTOR(CompositableHost);

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

@ -206,13 +206,6 @@ class CompositableHost {
TextureHost* aTextureOnWhite);
virtual void RemoveTextureHost(TextureHost* aTexture);
// Called every time this is composited
void BumpFlashCounter() {
mFlashCounter = mFlashCounter >= DIAGNOSTIC_FLASH_COUNTER_MAX
? DIAGNOSTIC_FLASH_COUNTER_MAX
: mFlashCounter + 1;
}
uint64_t GetCompositorBridgeID() const { return mCompositorBridgeID; }
const AsyncCompositableRef& GetAsyncRef() const { return mAsyncRef; }
@ -245,7 +238,6 @@ class CompositableHost {
uint64_t mCompositorBridgeID;
RefPtr<TextureSourceProvider> mTextureSourceProvider;
Layer* mLayer;
uint32_t mFlashCounter; // used when the pref "layers.flash-borders" is true.
bool mAttached;
bool mKeepAttached;
};