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

Unified Diff: net/log/test_net_log.cc

Issue 1893083002: Change scoped_ptr to std::unique_ptr in //net. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptr-net-all: iwyu Created 4 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 | « net/log/test_net_log.h ('k') | net/log/test_net_log_entry.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/log/test_net_log.cc
diff --git a/net/log/test_net_log.cc b/net/log/test_net_log.cc
index c8d04cb71f1c9ee6a76964a13e8bd94644db728e..3287cf0a9d4d53bf5827979e72c212eec8c174a2 100644
--- a/net/log/test_net_log.cc
+++ b/net/log/test_net_log.cc
@@ -50,7 +50,7 @@ class TestNetLog::Observer : public NetLog::ThreadSafeObserver {
void OnAddEntry(const NetLog::Entry& entry) override {
// Using Dictionaries instead of Values makes checking values a little
// simpler.
- scoped_ptr<base::DictionaryValue> param_dict =
+ std::unique_ptr<base::DictionaryValue> param_dict =
base::DictionaryValue::From(entry.ParametersToValue());
// Only need to acquire the lock when accessing class variables.
« no previous file with comments | « net/log/test_net_log.h ('k') | net/log/test_net_log_entry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698