| Index: net/dns/dns_config_service.cc
 | 
| diff --git a/net/dns/dns_config_service.cc b/net/dns/dns_config_service.cc
 | 
| index bfa4b8db84e648393eecfd4ce8a4d82ff6afcce7..84696c17a5a620872d2b56f4dc2453d190912cf1 100644
 | 
| --- a/net/dns/dns_config_service.cc
 | 
| +++ b/net/dns/dns_config_service.cc
 | 
| @@ -138,18 +138,18 @@ void DnsConfig::CopyIgnoreHosts(const DnsConfig& d) {
 | 
|    use_local_ipv6 = d.use_local_ipv6;
 | 
|  }
 | 
|  
 | 
| -base::Value* DnsConfig::ToValue() const {
 | 
| -  base::DictionaryValue* dict = new base::DictionaryValue();
 | 
| +scoped_ptr<base::Value> DnsConfig::ToValue() const {
 | 
| +  scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue());
 | 
|  
 | 
| -  base::ListValue* list = new base::ListValue();
 | 
| +  scoped_ptr<base::ListValue> list(new base::ListValue());
 | 
|    for (size_t i = 0; i < nameservers.size(); ++i)
 | 
|      list->Append(new base::StringValue(nameservers[i].ToString()));
 | 
| -  dict->Set("nameservers", list);
 | 
| +  dict->Set("nameservers", list.Pass());
 | 
|  
 | 
| -  list = new base::ListValue();
 | 
| +  list.reset(new base::ListValue());
 | 
|    for (size_t i = 0; i < search.size(); ++i)
 | 
|      list->Append(new base::StringValue(search[i]));
 | 
| -  dict->Set("search", list);
 | 
| +  dict->Set("search", list.Pass());
 | 
|  
 | 
|    dict->SetBoolean("unhandled_options", unhandled_options);
 | 
|    dict->SetBoolean("append_to_multi_label_name", append_to_multi_label_name);
 | 
| @@ -161,7 +161,7 @@ base::Value* DnsConfig::ToValue() const {
 | 
|    dict->SetBoolean("use_local_ipv6", use_local_ipv6);
 | 
|    dict->SetInteger("num_hosts", hosts.size());
 | 
|  
 | 
| -  return dict;
 | 
| +  return dict.Pass();
 | 
|  }
 | 
|  
 | 
|  
 | 
| 
 |