Removed 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 Review URL: https://codereview.chromium.org/1296333002 git-svn-id: svn://svn.chromium.org/blink/trunk@200770 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment