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

Unified Diff: webkit/support/webkit_support.cc

Issue 11361239: Keep playing audio even when opening another tab, going to another app etc. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 1 month 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 | « webkit/media/android/webmediaplayer_manager_android.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/support/webkit_support.cc
diff --git a/webkit/support/webkit_support.cc b/webkit/support/webkit_support.cc
index eb1e394639898ca09fdaa324e895dcf698ceaa8f..96f507b07a217961f315705b3c2b210c632b853b 100644
--- a/webkit/support/webkit_support.cc
+++ b/webkit/support/webkit_support.cc
@@ -448,7 +448,7 @@ WebKit::WebMediaPlayer* CreateMediaPlayer(
#if defined(OS_ANDROID)
void ReleaseMediaResources() {
- test_environment->media_player_manager()->ReleaseMediaResources();
+ test_environment->media_player_manager()->ReleaseMediaResourcesIfNotPlaying();
}
#endif
« no previous file with comments | « webkit/media/android/webmediaplayer_manager_android.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698