Get device scale factor in CSSPaintValue::GetImage
Originally we got the device scale factor in PaintWorklet::Paint, but now we get the value is CSSPaintValue::GetImage so that future patches can use it in the off thread case as well as the main thread case. Bug: 980594 Change-Id: Idff87f901de7a821d37d1631ad33babab795fd4f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1702146Reviewed-by:Xida Chen <xidachen@chromium.org> Reviewed-by:
Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Adam Raine <asraine@google.com> Cr-Commit-Position: refs/heads/master@{#678279}
Showing
Please register or sign in to comment