Refactor ObjectPainter::paintOutline to take a paintOffset
This patch refactors ObjectPainter::paintOutline to take a visual overflow rect and layout size (w/o paint offset), plus a paint offset. This cleans up the callsites so each doesn't need to compute a moved visual overflow rect, and prepares the paint code for paint offset caching. This has been split off from https://codereview.chromium.org/1315993004. A TODO has been added above outlineRectForSVG because the function should not exist. paintInvalidationRectInLocalCoordinates should be fixed to contain the outline extent. BUG=508383 Review URL: https://codereview.chromium.org/1321613002 git-svn-id: svn://svn.chromium.org/blink/trunk@201326 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment