[Webkit-unassigned] [Bug 48516] GraphicsContext: Remove "current path" and have strokePath, fillPath and clipPath take a Path argument

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 21 08:28:18 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=48516





--- Comment #38 from Simon Fraser (smfr) <simon.fraser at apple.com>  2010-11-21 08:28:17 PST ---
(In reply to comment #37)
> (From update of attachment 74492 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=74492&action=review
> 
> > WebCore/platform/graphics/cg/GraphicsContextCG.cpp:399
> > +static Path createConvexPolygonPath(size_t numPoints, const FloatPoint* points)
> 
> Path& not Path. Don't copy the created path.

You can't return a reference here; the Path is being created.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list