| Index: Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| diff --git a/Source/platform/graphics/Canvas2DLayerBridge.cpp b/Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| index 93917394085ac46469456f87a9eb5834a46d76c2..04377924a0f6b67dfc1357941204c5bdcdc5b310 100644
|
| --- a/Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| +++ b/Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| @@ -319,8 +319,6 @@ void Canvas2DLayerBridge::freeReleasedMailbox()
|
| }
|
| // Invalidate texture state in case the compositor altered it since the copy-on-write.
|
| if (mailboxInfo->m_image) {
|
| - if (isHidden() || releasedMailboxHasExpired())
|
| - mailboxInfo->m_image->getTexture()->resetFlag(static_cast<GrTextureFlags>(GrTexture::kReturnToCache_FlagBit));
|
| mailboxInfo->m_image->getTexture()->textureParamsModified();
|
| mailboxInfo->m_image.clear();
|
| }
|
|
|