| Index: Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| diff --git a/Source/platform/graphics/Canvas2DLayerBridge.cpp b/Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| index 04377924a0f6b67dfc1357941204c5bdcdc5b310..e74a1c7a0a0bcbbe47e46c8605a3faa68c7880c9 100644
|
| --- a/Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| +++ b/Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| @@ -511,10 +511,8 @@ void Canvas2DLayerBridge::mailboxReleased(const WebExternalTextureMailbox& mailb
|
| // in future.
|
| if (mailboxInfo->m_image) {
|
| GrTexture* texture = mailboxInfo->m_image->getTexture();
|
| - if (texture) {
|
| - texture->resetFlag(static_cast<GrTextureFlags>(GrTexture::kReturnToCache_FlagBit));
|
| + if (texture)
|
| texture->textureParamsModified();
|
| - }
|
| mailboxInfo->m_image.clear();
|
| }
|
| if (m_destructionInProgress) {
|
|
|