DescriptionMove SVG container paint code to SVGContainerPainter
This patch moves the direct painting code (through paint(...)) to
the new SVGContainerPainter. The resource container subclasses of
RenderSVGContainer have a second painting codepath through draw()
functions which will be moved to a painter class in a separate patch.
This patch is primarily a straight code move but contains the following
non-trivial changes:
1) RenderSVGViewport::applyViewportClip was not implemented directly
but RenderSVGViewportContainer and RenderSVGResourceMarker override it
for clipping. Instead of using applyViewportClip,
SVGContainerPainter::paint now directly handles the clipping of
RenderSVGViewportContainer. RenderSVGResourceMarker's viewport clip
function has been moved in RenderSVGResourceMarker::draw.
2) paintInvalidationRectInLocalCoordinates and selfWillPaint have been
made public on RenderSVGViewport.
BUG=412088
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183488
Patch Set 1 #
Total comments: 6
Patch Set 2 : Rebase #
Total comments: 5
Patch Set 3 : Address reviewer comments #Messages
Total messages: 18 (4 generated)
|