Index: third_party/WebKit/Source/platform/weborigin/SecurityPolicy.cpp |
diff --git a/third_party/WebKit/Source/platform/weborigin/SecurityPolicy.cpp b/third_party/WebKit/Source/platform/weborigin/SecurityPolicy.cpp |
index 170f565c5b7aa66a0b83e295ebfbb4efe7b8c90a..ca410429201592a0a588bdf9870356340e8871ff 100644 |
--- a/third_party/WebKit/Source/platform/weborigin/SecurityPolicy.cpp |
+++ b/third_party/WebKit/Source/platform/weborigin/SecurityPolicy.cpp |
@@ -245,7 +245,7 @@ void SecurityPolicy::removeOriginAccessWhitelistEntry( |
if (index == kNotFound) |
return; |
- list->remove(index); |
+ list->erase(index); |
if (list->isEmpty()) |
map.erase(it); |