Descriptioncc: Init PaintedScrollbarLayer::internal_contents_scale_ to 1.
This scale is currently 0, but if a PaintedScrollbarLayerImpl ends up
in the RenderSurfaceLayerList, we'll try to get the layer's rect in
target space. Since the scale is 0 we end up dividing by 0 and get a
NaN which is bad times.
If we init this to 1 things work until the PaintedScrollbarLayer has
a chance to Update().
R=enne
BUG=497947
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/69a27e219afcbb540b10e012f7e3bcad00b38e6a
Cr-Commit-Position: refs/heads/master@{#333653}
Patch Set 1 #
Messages
Total messages: 10 (3 generated)
|