| Index: net/http/http_cache_transaction.cc
|
| diff --git a/net/http/http_cache_transaction.cc b/net/http/http_cache_transaction.cc
|
| index e39a6c1c63f4f7075168020d74a0dc619dba0a1a..2b96817e56ccb6ecfc17e161b52067e6c9bd13ee 100644
|
| --- a/net/http/http_cache_transaction.cc
|
| +++ b/net/http/http_cache_transaction.cc
|
| @@ -182,16 +182,16 @@ void RecordNoStoreHeaderHistogram(int load_flags,
|
| }
|
| }
|
|
|
| -base::Value* NetLogAsyncRevalidationInfoCallback(
|
| +scoped_ptr<base::Value> NetLogAsyncRevalidationInfoCallback(
|
| const NetLog::Source& source,
|
| const HttpRequestInfo* request,
|
| NetLogCaptureMode capture_mode) {
|
| - base::DictionaryValue* dict = new base::DictionaryValue();
|
| - source.AddToEventParameters(dict);
|
| + scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue());
|
| + source.AddToEventParameters(dict.get());
|
|
|
| dict->SetString("url", request->url.possibly_invalid_spec());
|
| dict->SetString("method", request->method);
|
| - return dict;
|
| + return dict.Pass();
|
| }
|
|
|
| enum ExternallyConditionalizedType {
|
|
|