Chromium Code Reviews
DescriptionCreate a LayerDelegate for recreated layers to draw when their content is invalidated.
This is to mitigate the issue where the content of the layer has to be redrawn while dragging a window in another display. This can draw the display items recorded for different device scale factor which can have artifacts, but it's better than empty layer.
The same issue can happen during hiding/showing animation in theory, but I'm leaving them as is because that's very rare and most likely not noticeable.
BUG=604868
TEST=WindowUtilTest.RecreateLayersWithDelegate
TBR=sadrul@chromium.org
Committed: https://crrev.com/e1dbe8e0ce560e5e2979e44b39268ac24bc3fc25
Cr-Commit-Position: refs/heads/master@{#394993}
Patch Set 1 : #
Total comments: 21
Patch Set 2 : #Patch Set 3 : #
Total comments: 2
Patch Set 4 : #Messages
Total messages: 50 (30 generated)
|