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

Issue 598013002: Let toParentMediaElement return null for the media element itself (Closed)

Created:
6 years, 3 months ago by philipj_slow
Modified:
6 years, 2 months ago
Reviewers:
fs
CC:
blink-reviews, blink-reviews-html_chromium.org, philipj_slow, gasubic, fs, eric.carlson_apple.com, feature-media-reviews_chromium.org, dglazkov+blink, nessy, vcarbune.chromium
Project:
blink
Visibility:
Public.

Description

Let toParentMediaElement return null for the media element itself An element isn't its own parent, and actual usage doesn't require it. TEST=LayoutTests/media/video-webkit-appearance.html Without the fix, this test hits the ASSERT_WITH_SECURITY_IMPLICATION in mediaControlElementType(), via paintMediaPlayButton(). BUG=414100 R=fs@opera.com Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182664

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -1 line) Patch
A LayoutTests/media/video-webkit-appearance.html View 1 chunk +20 lines, -0 lines 0 comments Download
A LayoutTests/media/video-webkit-appearance-expected.html View 1 chunk +15 lines, -0 lines 0 comments Download
M Source/core/html/shadow/MediaControlElementTypes.cpp View 1 chunk +1 line, -1 line 3 comments Download

Messages

Total messages: 7 (1 generated)
philipj_slow
6 years, 3 months ago (2014-09-24 14:21:31 UTC) #1
fs
https://codereview.chromium.org/598013002/diff/1/Source/core/html/shadow/MediaControlElementTypes.cpp File Source/core/html/shadow/MediaControlElementTypes.cpp (right): https://codereview.chromium.org/598013002/diff/1/Source/core/html/shadow/MediaControlElementTypes.cpp#newcode54 Source/core/html/shadow/MediaControlElementTypes.cpp:54: return 0; paintMediaSliderThumb and paintMediaVolumeSliderThumb both seem to pass ...
6 years, 3 months ago (2014-09-24 15:48:16 UTC) #2
philipj_slow
https://codereview.chromium.org/598013002/diff/1/Source/core/html/shadow/MediaControlElementTypes.cpp File Source/core/html/shadow/MediaControlElementTypes.cpp (right): https://codereview.chromium.org/598013002/diff/1/Source/core/html/shadow/MediaControlElementTypes.cpp#newcode54 Source/core/html/shadow/MediaControlElementTypes.cpp:54: return 0; On 2014/09/24 15:48:16, fs wrote: > paintMediaSliderThumb ...
6 years, 2 months ago (2014-09-25 07:53:10 UTC) #3
fs
https://codereview.chromium.org/598013002/diff/1/Source/core/html/shadow/MediaControlElementTypes.cpp File Source/core/html/shadow/MediaControlElementTypes.cpp (right): https://codereview.chromium.org/598013002/diff/1/Source/core/html/shadow/MediaControlElementTypes.cpp#newcode54 Source/core/html/shadow/MediaControlElementTypes.cpp:54: return 0; On 2014/09/25 07:53:10, philipj wrote: > On ...
6 years, 2 months ago (2014-09-25 09:30:19 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/598013002/1
6 years, 2 months ago (2014-09-25 09:38:41 UTC) #6
commit-bot: I haz the power
6 years, 2 months ago (2014-09-25 09:43:22 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1) as 182664

Powered by Google App Engine
This is Rietveld 408576698