Index: net/dns/dns_query.h |
diff --git a/net/dns/dns_query.h b/net/dns/dns_query.h |
index e1469bdfbc09a0395a09cff4808eba66cf561115..c3104c355f2802a449486d0d2803aa49cfc15117 100644 |
--- a/net/dns/dns_query.h |
+++ b/net/dns/dns_query.h |
@@ -7,6 +7,7 @@ |
#include "base/basictypes.h" |
#include "base/memory/ref_counted.h" |
+#include "base/memory/scoped_ptr.h" |
#include "base/strings/string_piece.h" |
#include "net/base/net_export.h" |
@@ -24,7 +25,7 @@ class NET_EXPORT_PRIVATE DnsQuery { |
~DnsQuery(); |
// Clones |this| verbatim, with ID field of the header set to |id|. |
- DnsQuery* CloneWithNewId(uint16 id) const; |
+ scoped_ptr<DnsQuery> CloneWithNewId(uint16 id) const; |
// DnsQuery field accessors. |
uint16 id() const; |