зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
34efa74406
Коммит
0eff170956
|
@ -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;
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче