| 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 735042032bba229f31d7ce8ed72d37188e990037..1e530caec900cc467f2c7bcfabab52d05dc0a05f 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| @@ -1013,7 +1013,7 @@ void Canvas2DLayerBridge::mailboxReleased(const gpu::Mailbox& mailbox,
|
| // the self-destruction of this Canvas2DLayerBridge
|
| // 2) Release the SkImage, which will return the texture to skia's scratch
|
| // texture pool.
|
| - m_mailboxes.remove(releasedMailboxInfo);
|
| + m_mailboxes.erase(releasedMailboxInfo);
|
|
|
| if (m_mailboxes.isEmpty() && m_accelerationMode == DisableAcceleration)
|
| m_layer.reset();
|
|
|