Index: third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.cpp b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.cpp |
index d1fa3da37ddaf88fef4b1959220bbe7d529770c7..a91c312d700dff79fdf635306d76e141b938b60f 100644 |
--- a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.cpp |
@@ -57,7 +57,7 @@ void OffscreenCanvasPlaceholder::unregisterPlaceholder() { |
if (!isPlaceholderRegistered()) |
return; |
DCHECK(placeholderRegistry().find(m_placeholderId)->value == this); |
- placeholderRegistry().remove(m_placeholderId); |
+ placeholderRegistry().erase(m_placeholderId); |
m_placeholderId = kNoPlaceholderId; |
} |