Index: third_party/WebKit/Source/core/html/TimeRanges.cpp |
diff --git a/third_party/WebKit/Source/core/html/TimeRanges.cpp b/third_party/WebKit/Source/core/html/TimeRanges.cpp |
index f53d9ba9a9fd4bfd2a66674198fa2de7cd9a3392..4c9e161ce7aebb852421967ef6498d7f69542eac 100644 |
--- a/third_party/WebKit/Source/core/html/TimeRanges.cpp |
+++ b/third_party/WebKit/Source/core/html/TimeRanges.cpp |
@@ -144,7 +144,7 @@ void TimeRanges::add(double start, double end) { |
// We need to merge the addedRange and that range. |
addedRange = addedRange.unionWithOverlappingOrContiguousRange( |
m_ranges[overlappingArcIndex]); |
- m_ranges.remove(overlappingArcIndex); |
+ m_ranges.erase(overlappingArcIndex); |
overlappingArcIndex--; |
} else { |
// Check the case for which there is no more to do |