Skip to content

merge_pr_21643

The canvas content layer may have offset from the element in some
object-fit modes. When we invalidate a rect, the rect should be mapped
from the element coordinates to the content layer coordinates.

Bug: 840075
Change-Id: I58ac7f483c192a61d5c187cc1d6eb0a72aab0136
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2042258
Commit-Queue: Xianzhu Wang <[email protected]>
Reviewed-by: Fernando Serboncini <[email protected]>
Cr-Commit-Position: refs/heads/master@{#739999}
Assets 2
Loading