Index: net/dns/dns_query_unittest.cc |
diff --git a/net/dns/dns_query_unittest.cc b/net/dns/dns_query_unittest.cc |
index e94a3748c11c7de00ee5dee62d61824efbf4813c..bd8bf3ab2605355f3e6671b12f5b94150e76a761 100644 |
--- a/net/dns/dns_query_unittest.cc |
+++ b/net/dns/dns_query_unittest.cc |
@@ -55,7 +55,7 @@ TEST(DnsQueryTest, Clone) { |
DnsQuery q1(0, qname, dns_protocol::kTypeA); |
EXPECT_EQ(0, q1.id()); |
- scoped_ptr<DnsQuery> q2(q1.CloneWithNewId(42)); |
+ scoped_ptr<DnsQuery> q2 = q1.CloneWithNewId(42); |
EXPECT_EQ(42, q2->id()); |
EXPECT_EQ(q1.io_buffer()->size(), q2->io_buffer()->size()); |
EXPECT_EQ(q1.qtype(), q2->qtype()); |