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

Unified Diff: content/renderer/pepper/pepper_platform_audio_input_impl.cc

Issue 11275088: Remove implicit scoped_refptr operator T* Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years, 2 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
« no previous file with comments | « content/renderer/media/video_capture_impl_manager.h ('k') | content/renderer/plugin_channel_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « content/renderer/media/video_capture_impl_manager.h ('k') | content/renderer/plugin_channel_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698