Index: content/renderer/pepper/pepper_platform_audio_input_impl.cc |
diff --git a/content/renderer/pepper/pepper_platform_audio_input_impl.cc b/content/renderer/pepper/pepper_platform_audio_input_impl.cc |
index 94b9e922ce74af4840c8a0e5b6ab575c48e22221..92e47d72526548c090220e58932353ea3becbdb9 100644 |
--- a/content/renderer/pepper/pepper_platform_audio_input_impl.cc |
+++ b/content/renderer/pepper/pepper_platform_audio_input_impl.cc |
@@ -74,7 +74,7 @@ void PepperPlatformAudioInputImpl::OnStreamCreated( |
#endif |
DCHECK(length); |
- if (base::MessageLoopProxy::current() != main_message_loop_proxy_) { |
+ if (base::MessageLoopProxy::current().get() != main_message_loop_proxy_) { |
// No need to check |shutdown_called_| here. If shutdown has occurred, |
// |client_| will be NULL and the handles will be cleaned up on the main |
// thread. |
@@ -138,8 +138,8 @@ PepperPlatformAudioInputImpl::~PepperPlatformAudioInputImpl() { |
PepperPlatformAudioInputImpl::PepperPlatformAudioInputImpl() |
: client_(NULL), |
stream_id_(0), |
- main_message_loop_proxy_(base::MessageLoopProxy::current()), |
- shutdown_called_(false) { |
+ main_message_loop_proxy_(base::MessageLoopProxy::current().get()), |
+ shutdown_called_(false) { |
ipc_ = RenderThreadImpl::current()->audio_input_message_filter(); |
} |