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

Unified Diff: android_webview/native/aw_contents.cc

Issue 570183002: Make the pause of video playback and video capture consistent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: also make video playback consistent 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
Index: android_webview/native/aw_contents.cc
diff --git a/android_webview/native/aw_contents.cc b/android_webview/native/aw_contents.cc
index 4f6a069dcd823eec41315062f881b63569e9ba97..f90241875cf5bd240fdedcf313a363ae0943cbab 100644
--- a/android_webview/native/aw_contents.cc
+++ b/android_webview/native/aw_contents.cc
@@ -869,9 +869,6 @@ void AwContents::SetIsPaused(JNIEnv* env, jobject obj, bool paused) {
ContentViewCore::FromWebContents(web_contents_.get());
if (cvc) {
cvc->PauseOrResumeGeolocation(paused);
boliu 2014/09/20 01:05:21 do you know how chrome handles pausing geolocation
michaelbai 2014/09/22 05:48:11 PauseOrResumeGeolocation has similar code path as
- if (paused) {
- cvc->PauseVideo();
- }
}
}

Powered by Google App Engine
This is Rietveld 408576698