Move painting code out of LayoutSVGResourceClipper
LayoutSVGResourceClipper::tryPathOnlyClipping contains the code to emit the path - if one is successfully built. For the sake of layering, push this out into the caller (SVGClipPainter) instead. Also replace uses of clipperResource().isEmpty() with hasClipper(), rename objectBoundingBox referenceBox (to better match the Masking spec terminology) and rename the tryPathOnlyClipping to asPath. Review URL: https://codereview.chromium.org/1308983007 git-svn-id: svn://svn.chromium.org/blink/trunk@201254 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment