Fix that mask containing image with clip-path can not apply to client
When image contained mask is loading, it touches a mask flag called |computed_invalidation_mask_|. Because |MarkForLayoutAndParentResourceInvalidation| is called in |ImageChanged| without layout while loading, so this flag would be changed without clear. And this flag is used in the next layout. Actually this mask can not apply to client element in next time. This patch clears the mask flag in pre-paint time. Bug: 1086070 Change-Id: I55a7a16faafe4eeefac88e8e15e6d3b18b097acf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2432151Reviewed-by:Fredrik Söderquist <fs@opera.com> Commit-Queue: Hyunjune Kim <hyunjune.kim@samsung.com> Cr-Commit-Position: refs/heads/master@{#813061}
Showing
Please register or sign in to comment