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

Issue 2743573003: Fix an issue in fullscreen detector when context is destroyed (Closed)

Created:
3 years, 9 months ago by Zhiqiang Zhang (Slow)
Modified:
3 years, 9 months ago
CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, eric.carlson_apple.com, feature-media-reviews_chromium.org, fs, gasubic, mlamouri+watch-blink_chromium.org, nessy, Srirama
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix an issue in fullscreen detector when context is destroyed There's a race condition causing the WebMediaPlayer to be destroyed before MediaCustomControlsFullscreenDetector dispatches the final change. This CL fixes the issue. BUG=698034 Review-Url: https://codereview.chromium.org/2743573003 Cr-Commit-Position: refs/heads/master@{#456160} Committed: https://chromium.googlesource.com/chromium/src/+/ac5c34a5e762fd095bf129de24512100be09872a

Patch Set 1 #

Total comments: 2

Patch Set 2 : addressed nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -18 lines) Patch
M third_party/WebKit/Source/core/html/HTMLMediaElement.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElementEventListenersTest.cpp View 1 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLVideoElement.h View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLVideoElement.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/MediaCustomControlsFullscreenDetector.h View 3 chunks +2 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/html/MediaCustomControlsFullscreenDetector.cpp View 5 chunks +8 lines, -9 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
Zhiqiang Zhang (Slow)
3 years, 9 months ago (2017-03-09 22:35:43 UTC) #2
mlamouri (slow - plz ping)
lgtm You might want to re-enable the test that was disabled. https://codereview.chromium.org/2743573003/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.h File third_party/WebKit/Source/core/html/HTMLMediaElement.h (right): ...
3 years, 9 months ago (2017-03-10 11:37:55 UTC) #3
Zhiqiang Zhang (Slow)
On 2017/03/10 at 11:37:55, mlamouri wrote: > You might want to re-enable the test that ...
3 years, 9 months ago (2017-03-10 14:57:03 UTC) #4
Zhiqiang Zhang (Slow)
https://codereview.chromium.org/2743573003/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.h File third_party/WebKit/Source/core/html/HTMLMediaElement.h (right): https://codereview.chromium.org/2743573003/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.h#newcode362 third_party/WebKit/Source/core/html/HTMLMediaElement.h:362: void contextDestroyed(ExecutionContext*); On 2017/03/10 at 11:37:55, mlamouri wrote: > ...
3 years, 9 months ago (2017-03-10 14:57:14 UTC) #6
Nate Chapin
lgtm
3 years, 9 months ago (2017-03-10 19:18:30 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2743573003/20001
3 years, 9 months ago (2017-03-10 21:02:15 UTC) #14
commit-bot: I haz the power
3 years, 9 months ago (2017-03-10 21:08:19 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/ac5c34a5e762fd095bf129de2451...

Powered by Google App Engine
This is Rietveld 408576698