Index: content/renderer/pepper/pepper_platform_audio_output_impl.cc |
diff --git a/content/renderer/pepper/pepper_platform_audio_output_impl.cc b/content/renderer/pepper/pepper_platform_audio_output_impl.cc |
index 277fb18213c334e0d94a952b88768199b28633ff..7c9398205c721941d3549f8ac38b270bfdaf3961 100644 |
--- a/content/renderer/pepper/pepper_platform_audio_output_impl.cc |
+++ b/content/renderer/pepper/pepper_platform_audio_output_impl.cc |
@@ -82,7 +82,7 @@ void PepperPlatformAudioOutputImpl::OnStreamCreated( |
#endif |
DCHECK(length); |
- if (base::MessageLoopProxy::current() == main_message_loop_proxy_) { |
+ if (base::MessageLoopProxy::current().get() == main_message_loop_proxy_) { |
// Must dereference the client only on the main thread. Shutdown may have |
// occurred while the request was in-flight, so we need to NULL check. |
if (client_) |
@@ -107,8 +107,7 @@ PepperPlatformAudioOutputImpl::~PepperPlatformAudioOutputImpl() { |
PepperPlatformAudioOutputImpl::PepperPlatformAudioOutputImpl() |
: client_(NULL), |
- main_message_loop_proxy_(base::MessageLoopProxy::current()) { |
-} |
+ main_message_loop_proxy_(base::MessageLoopProxy::current().get()) {} |
bool PepperPlatformAudioOutputImpl::Initialize( |
int sample_rate, |