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

Unified Diff: media/base/android/media_player_listener.cc

Issue 16907002: Update Android to use scoped_refptr<T>::get() rather than 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
« no previous file with comments | « gpu/command_buffer/tests/gl_unittests_android.cc ('k') | net/quic/crypto/crypto_server_config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/media_player_listener.cc
diff --git a/media/base/android/media_player_listener.cc b/media/base/android/media_player_listener.cc
index 94cbfd14db3604beccd4aa48ff330cbd856bc6ab..730759eb30c9280ff3cdccc88c3e723a00f01cca 100644
--- a/media/base/android/media_player_listener.cc
+++ b/media/base/android/media_player_listener.cc
@@ -25,7 +25,7 @@ MediaPlayerListener::MediaPlayerListener(
base::WeakPtr<MediaPlayerBridge> media_player)
: message_loop_(message_loop),
media_player_(media_player) {
- DCHECK(message_loop_);
+ DCHECK(message_loop_.get());
DCHECK(media_player_);
}
« no previous file with comments | « gpu/command_buffer/tests/gl_unittests_android.cc ('k') | net/quic/crypto/crypto_server_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698