Index: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp |
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp |
index 1d0669ebd5dfe670516ebdc23f9dce03182ccc56..0fd366cf0f29b56f549a661ab72c4ef2c60448d5 100644 |
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp |
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp |
@@ -239,7 +239,7 @@ void WebGLRenderingContextBase::addToEvictedList( |
void WebGLRenderingContextBase::removeFromEvictedList( |
WebGLRenderingContextBase* context) { |
- forciblyEvictedContexts().remove(context); |
+ forciblyEvictedContexts().erase(context); |
} |
void WebGLRenderingContextBase::restoreEvictedContext( |
@@ -255,7 +255,7 @@ void WebGLRenderingContextBase::restoreEvictedContext( |
forciblyEvictedContexts().size()) { |
WebGLRenderingContextBase* evictedContext = oldestEvictedContext(); |
if (!evictedContext->m_restoreAllowed) { |
- forciblyEvictedContexts().remove(evictedContext); |
+ forciblyEvictedContexts().erase(evictedContext); |
continue; |
} |
@@ -265,7 +265,7 @@ void WebGLRenderingContextBase::restoreEvictedContext( |
// If there's room in the pixel budget for this context, restore it. |
if (!desiredSize.isEmpty()) { |
- forciblyEvictedContexts().remove(evictedContext); |
+ forciblyEvictedContexts().erase(evictedContext); |
evictedContext->forceRestoreContext(); |
} |
break; |