| Index: net/http/http_stream_parser.cc
|
| diff --git a/net/http/http_stream_parser.cc b/net/http/http_stream_parser.cc
|
| index 8fe55d83a859c34b16e5987a093ead0e567d2043..46a1702674c43a4905e43e3af4896bd8de95fef8 100644
|
| --- a/net/http/http_stream_parser.cc
|
| +++ b/net/http/http_stream_parser.cc
|
| @@ -74,16 +74,16 @@ bool HeadersContainMultipleCopiesOfField(const HttpResponseHeaders& headers,
|
| return false;
|
| }
|
|
|
| -base::Value* NetLogSendRequestBodyCallback(
|
| +scoped_ptr<base::Value> NetLogSendRequestBodyCallback(
|
| uint64 length,
|
| bool is_chunked,
|
| bool did_merge,
|
| NetLogCaptureMode /* capture_mode */) {
|
| - base::DictionaryValue* dict = new base::DictionaryValue();
|
| + scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue());
|
| dict->SetInteger("length", static_cast<int>(length));
|
| dict->SetBoolean("is_chunked", is_chunked);
|
| dict->SetBoolean("did_merge", did_merge);
|
| - return dict;
|
| + return dict.Pass();
|
| }
|
|
|
| // Returns true if |error_code| is an error for which we give the server a
|
|
|