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

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

Issue 2231923002: Make GetApplicationContext return a JavaRef. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Also fix not-currently-compiled unit test Created 4 years, 4 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: media/base/android/media_source_player.cc
diff --git a/media/base/android/media_source_player.cc b/media/base/android/media_source_player.cc
index 47860ba485e81e11442555b5b182d03f9ce98bdd..a077ba1337c8e6f1b4e393b7c4012ed099f71a4b 100644
--- a/media/base/android/media_source_player.cc
+++ b/media/base/android/media_source_player.cc
@@ -252,7 +252,7 @@ void MediaSourcePlayer::StartInternal() {
// related info should all be cleared.
is_waiting_for_key_ = false;
key_added_while_decode_pending_ = false;
- AttachListener(NULL);
+ AttachListener(nullptr);
SetPendingEvent(PREFETCH_REQUEST_EVENT_PENDING);
ProcessPendingEvents();

Powered by Google App Engine
This is Rietveld 408576698