Index: content/test/webrtc_audio_device_test.cc |
diff --git a/content/test/webrtc_audio_device_test.cc b/content/test/webrtc_audio_device_test.cc |
index 0ebed12f1681fd9f6cdf92ae646bc3be9a8db212..e37679cb4ee7c1d0e2f513ac51ecf96a09983c89 100644 |
--- a/content/test/webrtc_audio_device_test.cc |
+++ b/content/test/webrtc_audio_device_test.cc |
@@ -285,13 +285,13 @@ bool WebRTCAudioDeviceTest::OnMessageReceived(const IPC::Message& message) { |
return true; |
} |
- if (audio_render_host_.get()) { |
+ if (audio_render_host_) { |
bool message_was_ok = false; |
if (audio_render_host_->OnMessageReceived(message, &message_was_ok)) |
return true; |
} |
- if (audio_input_renderer_host_.get()) { |
+ if (audio_input_renderer_host_) { |
bool message_was_ok = false; |
if (audio_input_renderer_host_->OnMessageReceived(message, &message_was_ok)) |
return true; |
@@ -317,7 +317,7 @@ void WebRTCAudioDeviceTest::WaitForIOThreadCompletion() { |
} |
void WebRTCAudioDeviceTest::WaitForAudioManagerCompletion() { |
- if (audio_manager_.get()) |
+ if (audio_manager_) |
WaitForMessageLoopCompletion(audio_manager_->GetMessageLoop()); |
} |