This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove clientWidth call during MediaControls::reset.
This is a merge to M48 of f003b7d . Avoid calling clientWidth early to get the control panel width. It can cause a crash when the HitTestCache is cleared, if the cache was the last holder to the media element. Normally, this can't happen, but a callback from the WebMediaPlayer can be scheduled between the cache becoming the last reference and the next layout. BUG=531259 NOTRY=true NOPRESUBMIT=true Review URL: https://codereview.chromium.org/1578853002 Cr-Commit-Position: refs/branch-heads/2564@{#542} Cr-Branched-From: 1283eca-refs/heads/master@{#359700}
- Loading branch information
1 parent
eb4903f
commit 5f2f77f
Showing
2 changed files
with
25 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters