| Index: media/audio/audio_device_thread.cc
|
| diff --git a/media/audio/audio_device_thread.cc b/media/audio/audio_device_thread.cc
|
| index daf908556d8edf221f61fda6d4cd38fc41d9fbd2..b8ae3f903196320800c25bf176bae17ec382c21e 100644
|
| --- a/media/audio/audio_device_thread.cc
|
| +++ b/media/audio/audio_device_thread.cc
|
| @@ -72,7 +72,7 @@ void AudioDeviceThread::Start(AudioDeviceThread::Callback* callback,
|
| const char* thread_name,
|
| bool synchronized_buffers) {
|
| base::AutoLock auto_lock(thread_lock_);
|
| - CHECK(!thread_);
|
| + CHECK(!thread_.get());
|
| thread_ = new AudioDeviceThread::Thread(
|
| callback, socket, thread_name, synchronized_buffers);
|
| thread_->Start();
|
| @@ -88,7 +88,7 @@ void AudioDeviceThread::Stop(base::MessageLoop* loop_for_join) {
|
|
|
| bool AudioDeviceThread::IsStopped() {
|
| base::AutoLock auto_lock(thread_lock_);
|
| - return !thread_;
|
| + return !thread_.get();
|
| }
|
|
|
| // AudioDeviceThread::Thread implementation
|
|
|