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

Issue 136113015: Fix fullscreen video race condition. (Closed)

Created:
6 years, 10 months ago by Fredrik Öhrn
Modified:
6 years, 10 months ago
Reviewers:
bulach, qinmin
CC:
chromium-reviews, fischman+watch_chromium.org, jam, mcasas+watch_chromium.org, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Fix fullscreen video race condition. A newly initialized media player must enter fullscreen if there is a pending request sent by a previous media player. BUG=338670 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247941

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address raised issues #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -7 lines) Patch
M content/renderer/media/android/renderer_media_player_manager.h View 3 chunks +7 lines, -1 line 0 comments Download
M content/renderer/media/android/renderer_media_player_manager.cc View 1 4 chunks +13 lines, -3 lines 0 comments Download
M content/renderer/media/android/webmediaplayer_android.cc View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Fredrik Öhrn
The issue is a race condition when JavaScript issues a fullscreen request and immediately sets ...
6 years, 10 months ago (2014-01-28 13:41:24 UTC) #1
qinmin
https://codereview.chromium.org/136113015/diff/1/content/renderer/media/android/renderer_media_player_manager.cc File content/renderer/media/android/renderer_media_player_manager.cc (right): https://codereview.chromium.org/136113015/diff/1/content/renderer/media/android/renderer_media_player_manager.cc#newcode391 content/renderer/media/android/renderer_media_player_manager.cc:391: pending_fullscreen_frame_ = NULL; what if ExitFullscreen() is called before ...
6 years, 10 months ago (2014-01-28 17:41:33 UTC) #2
Fredrik Öhrn
On 2014/01/28 17:41:33, qinmin wrote: > https://codereview.chromium.org/136113015/diff/1/content/renderer/media/android/renderer_media_player_manager.cc > File content/renderer/media/android/renderer_media_player_manager.cc (right): > > https://codereview.chromium.org/136113015/diff/1/content/renderer/media/android/renderer_media_player_manager.cc#newcode391 > ...
6 years, 10 months ago (2014-01-29 15:51:33 UTC) #3
qinmin
lgtm
6 years, 10 months ago (2014-01-29 23:38:07 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ohrn@opera.com/136113015/20001
6 years, 10 months ago (2014-01-30 09:19:32 UTC) #5
commit-bot: I haz the power
6 years, 10 months ago (2014-01-30 13:30:48 UTC) #6
Message was sent while issue was closed.
Change committed as 247941

Powered by Google App Engine
This is Rietveld 408576698