| Index: net/url_request/url_request_throttler_entry.cc
|
| diff --git a/net/url_request/url_request_throttler_entry.cc b/net/url_request/url_request_throttler_entry.cc
|
| index 84a90141cecff1fa93a63146c22aec7304e97758..fdaaf7ff0d89f9a612521e4ab61f7cf6bc589242 100644
|
| --- a/net/url_request/url_request_throttler_entry.cc
|
| +++ b/net/url_request/url_request_throttler_entry.cc
|
| @@ -57,12 +57,12 @@ base::Value* NetLogRejectedRequestCallback(
|
| int num_failures,
|
| const base::TimeDelta& release_after,
|
| NetLogCaptureMode /* capture_mode */) {
|
| - base::DictionaryValue* dict = new base::DictionaryValue();
|
| + scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue());
|
| dict->SetString("url", *url_id);
|
| dict->SetInteger("num_failures", num_failures);
|
| dict->SetInteger("release_after_ms",
|
| static_cast<int>(release_after.InMilliseconds()));
|
| - return dict;
|
| + return dict.release();
|
| }
|
|
|
| URLRequestThrottlerEntry::URLRequestThrottlerEntry(
|
|
|