| Index: chrome/browser/extensions/api/streams_private/streams_private_api.cc
|
| diff --git a/chrome/browser/extensions/api/streams_private/streams_private_api.cc b/chrome/browser/extensions/api/streams_private/streams_private_api.cc
|
| index dc12dac808f754a699567fba4e96c960674587f7..21c333a6738cd3106a98121d365946cac210298b 100644
|
| --- a/chrome/browser/extensions/api/streams_private/streams_private_api.cc
|
| +++ b/chrome/browser/extensions/api/streams_private/streams_private_api.cc
|
| @@ -37,9 +37,8 @@ void CreateResponseHeadersDictionary(const net::HttpResponseHeaders* headers,
|
| while (headers->EnumerateHeaderLines(&iter, &header_name, &header_value)) {
|
| base::Value* existing_value = NULL;
|
| if (result->Get(header_name, &existing_value)) {
|
| - base::StringValue* existing_string_value =
|
| - static_cast<base::StringValue*>(existing_value);
|
| - existing_string_value->GetString()->append(", ").append(header_value);
|
| + *existing_value =
|
| + base::Value(existing_value->GetString() + ", " + header_value);
|
| } else {
|
| result->SetString(header_name, header_value);
|
| }
|
|
|