Chromium Code Reviews| Index: media/audio/audio_output_device.cc |
| diff --git a/media/audio/audio_output_device.cc b/media/audio/audio_output_device.cc |
| index d09e32c4a77c6f2805a5bd95ee42023420339fc0..a77d6c2e93ae2b7c3609b04283cdef2e404be61b 100644 |
| --- a/media/audio/audio_output_device.cc |
| +++ b/media/audio/audio_output_device.cc |
| @@ -51,7 +51,7 @@ AudioOutputDevice::AudioOutputDevice( |
| play_on_start_(true), |
| is_started_(false), |
| stopping_hack_(false) { |
| - CHECK(ipc_); |
| + CHECK(ipc_.get()); |
|
tommi (sloooow) - chröme
2012/10/17 18:40:06
.get()
miu
2012/10/17 20:10:44
Done.
|
| } |
| void AudioOutputDevice::Initialize(const AudioParameters& params, |
| @@ -259,7 +259,7 @@ void AudioOutputDevice::OnStreamCreated( |
| } |
| void AudioOutputDevice::OnIPCClosed() { |
| - ipc_ = NULL; |
| + ipc_.reset(); |
| } |
| void AudioOutputDevice::WillDestroyCurrentMessageLoop() { |