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

Unified Diff: content/renderer/media/android/webmediaplayer_android.cc

Issue 576813002: Fix the webgl conformance test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@seekable
Patch Set: Created 6 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/android/webmediaplayer_android.cc
diff --git a/content/renderer/media/android/webmediaplayer_android.cc b/content/renderer/media/android/webmediaplayer_android.cc
index 4bb016233a36016c2ab746b12df489db162da957..1ebcff07f18f2de3e394c84287843d85b6e7a9a3 100644
--- a/content/renderer/media/android/webmediaplayer_android.cc
+++ b/content/renderer/media/android/webmediaplayer_android.cc
@@ -195,7 +195,7 @@ WebMediaPlayerAndroid::~WebMediaPlayerAndroid() {
current_frame_ = NULL;
}
- if (player_type_ == MEDIA_PLAYER_TYPE_MEDIA_SOURCE && delegate_)
+ if (delegate_)
delegate_->PlayerGone(this);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698