Index: content/browser/web_contents/web_contents_android.cc |
diff --git a/content/browser/web_contents/web_contents_android.cc b/content/browser/web_contents/web_contents_android.cc |
index a007f21a7e59a138faf7cb73bbf950b468759164..4daf31ecbfe20be109d5eee5562c2c3b19c579f4 100644 |
--- a/content/browser/web_contents/web_contents_android.cc |
+++ b/content/browser/web_contents/web_contents_android.cc |
@@ -178,7 +178,6 @@ void WebContentsAndroid::BeginExitTransition(JNIEnv* env, |
void WebContentsAndroid::OnHide(JNIEnv* env, jobject obj) { |
web_contents_->WasHidden(); |
- PauseVideo(); |
} |
void WebContentsAndroid::OnShow(JNIEnv* env, jobject obj) { |
@@ -200,13 +199,6 @@ void WebContentsAndroid::ReleaseMediaPlayers(JNIEnv* env, jobject jobj) { |
#endif // defined(ENABLE_BROWSER_CDMS) |
} |
-void WebContentsAndroid::PauseVideo() { |
- RenderViewHostImpl* rvhi = static_cast<RenderViewHostImpl*>( |
- web_contents_->GetRenderViewHost()); |
- if (rvhi) |
- rvhi->media_web_contents_observer()->PauseVideo(); |
-} |
- |
void WebContentsAndroid::AddStyleSheetByURL( |
JNIEnv* env, |
jobject obj, |