Share more code in PathTraversalState.
Created attachment 94322 [details] Patch
Comment on attachment 94322 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=94322&action=review Looks good, r=me. > Source/WebCore/platform/graphics/PathTraversalState.cpp:209 > + if (m_action == TraversalSegmentAtLength > + && m_totalLength >= m_desiredLength) No need to wrap the line here, eh? > Source/WebCore/platform/graphics/PathTraversalState.cpp:214 > + if ((m_action == TraversalPointAtLength > + || m_action == TraversalNormalAngleAtLength) > + && m_totalLength >= m_desiredLength) { Ditto? > Source/WebCore/platform/graphics/PathTraversalState.h:50 > + void finalizeSegmentCalculation(); How about "processSegment" ?
Committed r87011: <http://trac.webkit.org/changeset/87011>