Index: net/dns/dns_response_unittest.cc |
diff --git a/net/dns/dns_response_unittest.cc b/net/dns/dns_response_unittest.cc |
index 6ecfac499223f02fc3bdf51dec930fcc2d366362..9cb98cead5f4769258e82026785f7129b91f676d 100644 |
--- a/net/dns/dns_response_unittest.cc |
+++ b/net/dns/dns_response_unittest.cc |
@@ -212,7 +212,7 @@ TEST(DnsResponseTest, InitParse) { |
EXPECT_FALSE(resp.IsValid()); |
// Reject wrong id. |
- scoped_ptr<DnsQuery> other_query(query->CloneWithNewId(0xbeef)); |
+ scoped_ptr<DnsQuery> other_query = query->CloneWithNewId(0xbeef); |
EXPECT_FALSE(resp.InitParse(sizeof(response_data), *other_query)); |
EXPECT_FALSE(resp.IsValid()); |