Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Unified Diff: content/test/webrtc_audio_device_test.cc

Issue 15984016: Call scoped_refptr<T>::get() rather than relying on implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 63deaba851729a32847cdbbe33a9fc0386e92ce5..83c9a525716b89f35f0ceffc79f321a1fc54a3b1 100644
--- a/content/test/webrtc_audio_device_test.cc
+++ b/content/test/webrtc_audio_device_test.cc
@@ -314,12 +314,12 @@ bool WebRTCAudioDeviceTest::OnMessageReceived(const IPC::Message& message) {
// Posts a final task to the IO message loop and waits for completion.
void WebRTCAudioDeviceTest::WaitForIOThreadCompletion() {
WaitForMessageLoopCompletion(
- ChildProcess::current()->io_message_loop()->message_loop_proxy());
+ ChildProcess::current()->io_message_loop()->message_loop_proxy().get());
}
void WebRTCAudioDeviceTest::WaitForAudioManagerCompletion() {
if (audio_manager_)
- WaitForMessageLoopCompletion(audio_manager_->GetMessageLoop());
+ WaitForMessageLoopCompletion(audio_manager_->GetMessageLoop().get());
}
void WebRTCAudioDeviceTest::WaitForMessageLoopCompletion(
« no previous file with comments | « content/shell/shell_url_request_context_getter.cc ('k') | gpu/command_buffer/service/async_pixel_transfer_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698