| Index: third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp
|
| index 752acbf0933e674532747d9cb21eeb0558d0f70e..4606cebc789c203c09f5dd85a621370d4ff422fa 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp
|
| @@ -425,9 +425,9 @@ void OffscreenCanvasFrameDispatcherImpl::reclaimResource(unsigned resourceId) {
|
| m_spareResourceLocks.remove(resourceId);
|
| return;
|
| }
|
| - m_cachedImages.remove(resourceId);
|
| - m_sharedBitmaps.remove(resourceId);
|
| - m_cachedTextureIds.remove(resourceId);
|
| + m_cachedImages.erase(resourceId);
|
| + m_sharedBitmaps.erase(resourceId);
|
| + m_cachedTextureIds.erase(resourceId);
|
| }
|
|
|
| bool OffscreenCanvasFrameDispatcherImpl::verifyImageSize(
|
|
|