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

Unified Diff: base/values.cc

Issue 2809933003: Remove ListValue::Append(raw ptr) on Win (Closed)
Patch Set: Includes 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
« no previous file with comments | « base/values.h ('k') | chrome/browser/win/enumerate_modules_model.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 55668275c731e1f5ce5a45eb6018f6048c5cbe30..755b6f5a565223a494d2f96cf592d3da0813159f 100644
--- a/base/values.cc
+++ b/base/values.cc
@@ -1234,13 +1234,6 @@ void ListValue::Append(std::unique_ptr<Value> in_value) {
list_->push_back(std::move(*in_value));
}
-#if !defined(OS_LINUX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
-void ListValue::Append(Value* in_value) {
- DCHECK(in_value);
- Append(WrapUnique(in_value));
-}
-#endif
-
void ListValue::AppendBoolean(bool in_value) {
Append(MakeUnique<Value>(in_value));
}
« no previous file with comments | « base/values.h ('k') | chrome/browser/win/enumerate_modules_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698