diff options
Diffstat (limited to 'net/udp/udp_net_log_parameters.cc')
-rw-r--r-- | net/udp/udp_net_log_parameters.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/udp/udp_net_log_parameters.cc b/net/udp/udp_net_log_parameters.cc index 423f074..d157fe8 100644 --- a/net/udp/udp_net_log_parameters.cc +++ b/net/udp/udp_net_log_parameters.cc @@ -4,6 +4,8 @@ #include "net/udp/udp_net_log_parameters.h" +#include <utility> + #include "base/bind.h" #include "base/strings/string_number_conversions.h" #include "base/values.h" @@ -24,7 +26,7 @@ scoped_ptr<base::Value> NetLogUDPDataTranferCallback( dict->SetString("hex_encoded_bytes", base::HexEncode(bytes, byte_count)); if (address) dict->SetString("address", address->ToString()); - return dict.Pass(); + return std::move(dict); } scoped_ptr<base::Value> NetLogUDPConnectCallback( @@ -32,7 +34,7 @@ scoped_ptr<base::Value> NetLogUDPConnectCallback( NetLogCaptureMode /* capture_mode */) { scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue()); dict->SetString("address", address->ToString()); - return dict.Pass(); + return std::move(dict); } } // namespace |