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

Unified Diff: net/log/net_log_unittest.cc

Issue 2086763002: Don't use deprecated ListValue::Append(Value*) overload. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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 | « net/log/net_log.cc ('k') | net/log/trace_net_log_observer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/log/net_log_unittest.cc
diff --git a/net/log/net_log_unittest.cc b/net/log/net_log_unittest.cc
index e703a85f69a2adae8bf084bf138a3124bd6b22bf..f8650a754e888c98606c08339a60a90c8ca980fa 100644
--- a/net/log/net_log_unittest.cc
+++ b/net/log/net_log_unittest.cc
@@ -134,7 +134,7 @@ class LoggingObserver : public NetLog::ThreadSafeObserver {
void OnAddEntry(const NetLog::Entry& entry) override {
std::unique_ptr<base::DictionaryValue> dict =
- base::DictionaryValue::From(base::WrapUnique(entry.ToValue()));
+ base::DictionaryValue::From(entry.ToValue());
ASSERT_TRUE(dict);
values_.push_back(std::move(dict));
}
« no previous file with comments | « net/log/net_log.cc ('k') | net/log/trace_net_log_observer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698