DescriptionRemoved clientHeight() from MediaControlsPainter.
Relayout during paint asserts. There were a few cases where
the layout was actually dirty during paint, causing the
clientHeight() to relayout and crash.
Instead, we now cache the last known layout size in the media
element, and use it to compute things during paint. It would be
much nicer if we could use CSS for this, but it doesn't seem to
be possible for the media shadow controls. They all paint as
background images.
This may also be related to crbug.com/519495 .
BUG=520914
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200770
Patch Set 1 #Patch Set 2 : removed TODO. #
Total comments: 2
Patch Set 3 : Use LayoutBox size instead. #
Total comments: 3
Patch Set 4 : switched to pixelSnappedHeight() #Messages
Total messages: 17 (6 generated)
|