| Index: net/spdy/spdy_session.cc
|
| diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc
|
| index a1e8afe0cc4fd7109c225bbde0666f8bfeb4c588..33b01b28c70c660d77f6bf72eef29788e3c96bc4 100644
|
| --- a/net/spdy/spdy_session.cc
|
| +++ b/net/spdy/spdy_session.cc
|
| @@ -50,7 +50,7 @@ Value* NetLogSpdySynParameter::ToValue() const {
|
| ListValue* headers_list = new ListValue();
|
| for (spdy::SpdyHeaderBlock::const_iterator it = headers_->begin();
|
| it != headers_->end(); ++it) {
|
| - headers_list->Append(new StringValue(base::StringPrintf(
|
| + headers_list->Append(base::StringValue::New(base::StringPrintf(
|
| "%s: %s", it->first.c_str(), it->second.c_str())));
|
| }
|
| dict->SetInteger("flags", flags_);
|
| @@ -71,8 +71,8 @@ class NetLogSpdySessionParameter : public NetLog::EventParameters {
|
| : host_pair_(host_pair) {}
|
| virtual Value* ToValue() const {
|
| DictionaryValue* dict = new DictionaryValue();
|
| - dict->Set("host", new StringValue(host_pair_.first.ToString()));
|
| - dict->Set("proxy", new StringValue(host_pair_.second.ToPacString()));
|
| + dict->Set("host", base::StringValue::New(host_pair_.first.ToString()));
|
| + dict->Set("proxy", base::StringValue::New(host_pair_.second.ToPacString()));
|
| return dict;
|
| }
|
| private:
|
| @@ -90,7 +90,7 @@ class NetLogSpdySettingsParameter : public NetLog::EventParameters {
|
| ListValue* settings = new ListValue();
|
| for (spdy::SpdySettings::const_iterator it = settings_.begin();
|
| it != settings_.end(); ++it) {
|
| - settings->Append(new StringValue(
|
| + settings->Append(base::StringValue::New(
|
| base::StringPrintf("[%u:%u]", it->first.id(), it->second)));
|
| }
|
| dict->Set("settings", settings);
|
|
|