Clean up PaintInfo usage in/around ScopedSVGPaintState
Since ScopedSVGPaintState no longer creates/sets up a new PaintInfo there's no need for GetPaintInfo() an more. Replace usage of it with a local PaintInfo reference where ScopedSVGPaintState is used. Also drop the return value from ScopedSVGPaintState::ApplyEffects since it always return true anyway. Bug: 109224 Change-Id: I9f6448f3c0bedb731ea899d336f7b3ef318b951a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2440526Reviewed-by:Xianzhu Wang <wangxianzhu@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#812762}
Showing
Please register or sign in to comment