summaryrefslogtreecommitdiffstats
path: root/base/values.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/values.cc')
-rw-r--r--base/values.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/base/values.cc b/base/values.cc
index feff299..f214ead 100644
--- a/base/values.cc
+++ b/base/values.cc
@@ -832,16 +832,6 @@ void ListValue::Append(Value* in_value) {
list_.push_back(in_value);
}
-bool ListValue::AppendIfNotPresent(Value* in_value) {
- DCHECK(in_value);
- for (ValueVector::iterator i(list_.begin()); i != list_.end(); ++i) {
- if ((*i)->Equals(in_value))
- return false;
- }
- list_.push_back(in_value);
- return true;
-}
-
bool ListValue::Insert(size_t index, Value* in_value) {
DCHECK(in_value);
if (index > list_.size())