DescriptionFix blurry content after disabling dev tools emulation
There's a race between page resize and devtools emulation disabling
which can change the root layer transform scale. If a commit occurs
after the page resize but before the scale, then layers end up picking
the wrong scale, and if they have will-change on them then they will
not change again after the root layer transform scale.
This scale isn't really part of the page or under the author's control,
and so will-change should be ignored when devtools changes the scale
and content should always be rerastered and the ideal scale.
This patch implements that behavior by plumbing a flag all the way from
the devtools scale change to LayerTreeHost which then then resets the
raster scale on all the picture layers after commit.
BUG=630979
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel
Committed: https://crrev.com/8a4cb786c49505784365acdb1ca4037df64b341f
Cr-Commit-Position: refs/heads/master@{#422914}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Fix whitespace, unneeded function #Patch Set 3 : Rename testing function too #
Total comments: 2
Patch Set 4 : Add function for LayerTreeHostRemote #Messages
Total messages: 22 (15 generated)
|