| Index: net/dns/dns_query.cc
|
| diff --git a/net/dns/dns_query.cc b/net/dns/dns_query.cc
|
| index 530508a61de1b3f051e5f7139aeef16ca3cce0bd..f418162df544fea044d895911e89525df247b59e 100644
|
| --- a/net/dns/dns_query.cc
|
| +++ b/net/dns/dns_query.cc
|
| @@ -43,8 +43,8 @@ DnsQuery::DnsQuery(uint16 id, const base::StringPiece& qname, uint16 qtype)
|
| DnsQuery::~DnsQuery() {
|
| }
|
|
|
| -DnsQuery* DnsQuery::CloneWithNewId(uint16 id) const {
|
| - return new DnsQuery(*this, id);
|
| +scoped_ptr<DnsQuery> DnsQuery::CloneWithNewId(uint16 id) const {
|
| + return make_scoped_ptr(new DnsQuery(*this, id));
|
| }
|
|
|
| uint16 DnsQuery::id() const {
|
|
|