| Index: third_party/WebKit/Source/core/clipboard/DataObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/clipboard/DataObject.cpp b/third_party/WebKit/Source/core/clipboard/DataObject.cpp
|
| index 11b7d9d9a5142f7b4736059026f2b03be6f5fe68..b83bf702e2f036a735526936c7fdc38c8bc0098b 100644
|
| --- a/third_party/WebKit/Source/core/clipboard/DataObject.cpp
|
| +++ b/third_party/WebKit/Source/core/clipboard/DataObject.cpp
|
| @@ -87,7 +87,7 @@ DataObjectItem* DataObject::item(unsigned long index) {
|
| void DataObject::deleteItem(unsigned long index) {
|
| if (index >= length())
|
| return;
|
| - m_itemList.remove(index);
|
| + m_itemList.erase(index);
|
| }
|
|
|
| void DataObject::clearAll() {
|
| @@ -125,7 +125,7 @@ void DataObject::clearData(const String& type) {
|
| if (m_itemList[i]->kind() == DataObjectItem::StringKind &&
|
| m_itemList[i]->type() == type) {
|
| // Per the spec, type must be unique among all items of kind 'string'.
|
| - m_itemList.remove(i);
|
| + m_itemList.erase(i);
|
| return;
|
| }
|
| }
|
|
|