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

Unified Diff: net/ssl/channel_id_store.cc

Issue 2095523002: Make //crypto factories return std::unique_ptr<>s (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: I'm blind 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/ssl/channel_id_service_unittest.cc ('k') | net/ssl/default_channel_id_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/channel_id_store.cc
diff --git a/net/ssl/channel_id_store.cc b/net/ssl/channel_id_store.cc
index 1d0078b968f38f7977423d8186d824618c1675b1..9545585e87c3dc20fca31e810d02b2a044bbebe2 100644
--- a/net/ssl/channel_id_store.cc
+++ b/net/ssl/channel_id_store.cc
@@ -33,7 +33,7 @@ ChannelIDStore::ChannelID& ChannelIDStore::ChannelID::operator=(
server_identifier_ = other.server_identifier_;
creation_time_ = other.creation_time_;
if (other.key_)
- key_.reset(other.key_->Copy());
+ key_ = other.key_->Copy();
return *this;
}
« no previous file with comments | « net/ssl/channel_id_service_unittest.cc ('k') | net/ssl/default_channel_id_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698