Index: third_party/WebKit/Source/modules/cachestorage/InspectorCacheStorageAgent.cpp |
diff --git a/third_party/WebKit/Source/modules/cachestorage/InspectorCacheStorageAgent.cpp b/third_party/WebKit/Source/modules/cachestorage/InspectorCacheStorageAgent.cpp |
index 3345d35d964984351efbede3f52e2364f252a380..0083b340361a8b6edb48671905ce3564b06908ba 100644 |
--- a/third_party/WebKit/Source/modules/cachestorage/InspectorCacheStorageAgent.cpp |
+++ b/third_party/WebKit/Source/modules/cachestorage/InspectorCacheStorageAgent.cpp |
@@ -195,11 +195,11 @@ class ResponsesAccumulator : public RefCounted<ResponsesAccumulator> { |
return WTF::codePointCompareLessThan(a.request, b.request); |
}); |
if (m_params.skipCount > 0) |
- m_responses.remove(0, m_params.skipCount); |
+ m_responses.erase(0, m_params.skipCount); |
bool hasMore = false; |
if (static_cast<size_t>(m_params.pageSize) < m_responses.size()) { |
- m_responses.remove(m_params.pageSize, |
- m_responses.size() - m_params.pageSize); |
+ m_responses.erase(m_params.pageSize, |
+ m_responses.size() - m_params.pageSize); |
hasMore = true; |
} |
std::unique_ptr<Array<DataEntry>> array = Array<DataEntry>::create(); |