Chromium Code Reviews| Index: base/values.cc |
| diff --git a/base/values.cc b/base/values.cc |
| index d7b102112831c98e569a2f3f1d02692ab428d523..60b0d70f1ed07f7a92c1f6ca7f5815dae3c38fa6 100644 |
| --- a/base/values.cc |
| +++ b/base/values.cc |
| @@ -887,15 +887,6 @@ ListValue::const_iterator ListValue::Find(const Value& value) const { |
| return std::find_if(list_.begin(), list_.end(), ValueEquals(&value)); |
| } |
|
Mattias Nissler (ping if slow)
2011/10/07 11:02:57
This is obsolete.
pastarmovj
2011/10/13 11:25:06
Yes, rebasing artifact. Removed.
|
| -int ListValue::Find(const Value& value) const { |
| - for (ValueVector::const_iterator i(list_.begin()); i != list_.end(); ++i) { |
| - if ((*i)->Equals(&value)) { |
| - return i - list_.begin(); |
| - } |
| - } |
| - return -1; |
| -} |
| - |
| bool ListValue::GetAsList(ListValue** out_value) { |
| if (out_value) |
| *out_value = this; |