Chromium Code Reviews| Index: third_party/WebKit/Source/platform/json/JSONValues.cpp |
| diff --git a/third_party/WebKit/Source/platform/json/JSONValues.cpp b/third_party/WebKit/Source/platform/json/JSONValues.cpp |
| index 2b9d6a420da15de296804c1a418e3bd0f686645d..9927fae52fe4e2a5bacaa9253741881ebc412396 100644 |
| --- a/third_party/WebKit/Source/platform/json/JSONValues.cpp |
| +++ b/third_party/WebKit/Source/platform/json/JSONValues.cpp |
| @@ -344,7 +344,7 @@ void JSONObject::remove(const String& name) { |
| m_data.erase(name); |
| for (size_t i = 0; i < m_order.size(); ++i) { |
| if (m_order[i] == name) { |
| - m_order.remove(i); |
| + m_order.erase(i); |
| break; |
| } |
| } |