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

Unified Diff: base/values.cc

Issue 2911033002: Remove raw base::DictionaryValue::Set (Closed)
Patch Set: Proper Windows Fix Created 3 years, 6 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
« no previous file with comments | « base/values.h ('k') | chrome/browser/supervised_user/supervised_user_service_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/values.cc
diff --git a/base/values.cc b/base/values.cc
index 2f293c9e817434894d3f846ec41e92d665c6ae19..8e2bc88800a5f8291919a79145af41fe0882321b 100644
--- a/base/values.cc
+++ b/base/values.cc
@@ -636,10 +636,6 @@ Value* DictionaryValue::Set(StringPiece path, std::unique_ptr<Value> in_value) {
std::move(in_value));
}
-Value* DictionaryValue::Set(StringPiece path, Value* in_value) {
- return Set(path, WrapUnique(in_value));
-}
-
Value* DictionaryValue::SetBoolean(StringPiece path, bool in_value) {
return Set(path, MakeUnique<Value>(in_value));
}
« no previous file with comments | « base/values.h ('k') | chrome/browser/supervised_user/supervised_user_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698