| Index: third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| index aac5c704343fc41443e40e17f9897671c8088344..4da48df4245d05635757000986ce313aa7a6c871 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| @@ -850,7 +850,10 @@ void Canvas2DLayerBridge::mailboxReleased(const WebExternalTextureMailbox& mailb
|
|
|
| #if USE_IOSURFACE_FOR_2D_CANVAS
|
| if (!releasedMailboxInfo->m_imageInfo.empty() && !lostResource) {
|
| - m_imageInfoCache.append(releasedMailboxInfo->m_imageInfo);
|
| + // IOSurface texures can't be reused, because the compositor returns
|
| + // them while they are still in use, and the SyncToken isn't
|
| + // relevant. https://crbug.com/608026.
|
| + deleteCHROMIUMImage(releasedMailboxInfo->m_imageInfo);
|
| }
|
| #endif // USE_IOSURFACE_FOR_2D_CANVAS
|
| }
|
|
|