| Index: chrome/browser/media/media_internals.cc
|
| diff --git a/chrome/browser/media/media_internals.cc b/chrome/browser/media/media_internals.cc
|
| index bec8ec852719b921a2b698668839cec480eb364f..b360cbccb34e5fe73bc53f7f9b5f2795433609d4 100644
|
| --- a/chrome/browser/media/media_internals.cc
|
| +++ b/chrome/browser/media/media_internals.cc
|
| @@ -32,21 +32,21 @@ void MediaInternals::OnSetAudioStreamPlaying(
|
| void* host, int stream_id, bool playing) {
|
| DCHECK(CalledOnValidThread());
|
| UpdateAudioStream(host, stream_id,
|
| - "playing", Value::CreateBooleanValue(playing));
|
| + "playing", base::BooleanValue::New(playing));
|
| }
|
|
|
| void MediaInternals::OnSetAudioStreamStatus(
|
| void* host, int stream_id, const std::string& status) {
|
| DCHECK(CalledOnValidThread());
|
| UpdateAudioStream(host, stream_id,
|
| - "status", Value::CreateStringValue(status));
|
| + "status", base::StringValue::New(status));
|
| }
|
|
|
| void MediaInternals::OnSetAudioStreamVolume(
|
| void* host, int stream_id, double volume) {
|
| DCHECK(CalledOnValidThread());
|
| UpdateAudioStream(host, stream_id,
|
| - "volume", Value::CreateDoubleValue(volume));
|
| + "volume", base::NumberValue::New(volume));
|
| }
|
|
|
| void MediaInternals::OnMediaEvent(
|
| @@ -89,7 +89,7 @@ void MediaInternals::UpdateAudioStream(
|
|
|
| void MediaInternals::DeleteItem(const std::string& item) {
|
| data_.Remove(item, NULL);
|
| - scoped_ptr<Value> value(Value::CreateStringValue(item));
|
| + scoped_ptr<Value> value(base::StringValue::New(item));
|
| SendUpdate(kDeleteItemFunction, value.get());
|
| }
|
|
|
|
|