| Index: net/base/sdch_net_log_params.cc
 | 
| diff --git a/net/base/sdch_net_log_params.cc b/net/base/sdch_net_log_params.cc
 | 
| index a89117ecbacce6308febc7949ee0b3ed6611076d..81f84760d815c9f4f86604810f514a107532c970 100644
 | 
| --- a/net/base/sdch_net_log_params.cc
 | 
| +++ b/net/base/sdch_net_log_params.cc
 | 
| @@ -10,25 +10,26 @@
 | 
|  
 | 
|  namespace net {
 | 
|  
 | 
| -base::Value* NetLogSdchResourceProblemCallback(SdchProblemCode problem,
 | 
| -                                               NetLogCaptureMode capture_mode) {
 | 
| -  base::DictionaryValue* dict = new base::DictionaryValue();
 | 
| +scoped_ptr<base::Value> NetLogSdchResourceProblemCallback(
 | 
| +    SdchProblemCode problem,
 | 
| +    NetLogCaptureMode capture_mode) {
 | 
| +  scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue());
 | 
|    dict->SetInteger("sdch_problem_code", problem);
 | 
|    dict->SetInteger("net_error", ERR_FAILED);
 | 
| -  return dict;
 | 
| +  return dict.Pass();
 | 
|  }
 | 
|  
 | 
| -base::Value* NetLogSdchDictionaryFetchProblemCallback(
 | 
| +scoped_ptr<base::Value> NetLogSdchDictionaryFetchProblemCallback(
 | 
|      SdchProblemCode problem,
 | 
|      const GURL& url,
 | 
|      bool is_error,
 | 
|      NetLogCaptureMode capture_mode) {
 | 
| -  base::DictionaryValue* dict = new base::DictionaryValue();
 | 
| +  scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue());
 | 
|    dict->SetInteger("sdch_problem_code", problem);
 | 
|    dict->SetString("dictionary_url", url.spec());
 | 
|    if (is_error)
 | 
|      dict->SetInteger("net_error", ERR_FAILED);
 | 
| -  return dict;
 | 
| +  return dict.Pass();
 | 
|  }
 | 
|  
 | 
|  }  // namespace net
 | 
| 
 |