Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Unified Diff: base/values.cc

Issue 2838893002: Remove base::ListValue::Set(size_t, base::Value*) (Closed)
Patch Set: Android, Fuzzer and JSON Test Fixes Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/values.cc
diff --git a/base/values.cc b/base/values.cc
index f24646cbef6702d9b05e55a91816e1c15ac75717..0d49bc30ab64ea04e97b046029cde77889423f65 100644
--- a/base/values.cc
+++ b/base/values.cc
@@ -1083,10 +1083,6 @@ void ListValue::Reserve(size_t n) {
list_->reserve(n);
}
-bool ListValue::Set(size_t index, Value* in_value) {
- return Set(index, WrapUnique(in_value));
-}
-
bool ListValue::Set(size_t index, std::unique_ptr<Value> in_value) {
if (!in_value)
return false;

Powered by Google App Engine
This is Rietveld 408576698