Summary: | Share more code in PathTraversalState | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Dirk Schulze <krit> | ||||
Component: | SVG | Assignee: | Dirk Schulze <krit> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | zimmermann | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Dirk Schulze
2011-05-20 22:56:19 PDT
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> |