Other logic in WebCore needs to know about Path encoding/decoding, so it makes more sense to move the logic here.
Created attachment 385111 [details] Patch
Comment on attachment 385111 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=385111&action=review > Source/WebCore/platform/graphics/Path.h:242 > + case PathElementMoveToPoint: // The points member will contain 1 value. These comments seem a bit silly
Comment on attachment 385111 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=385111&action=review >> Source/WebCore/platform/graphics/Path.h:242 >> + case PathElementMoveToPoint: // The points member will contain 1 value. > > These comments seem a bit silly Will remove these inline comments (and the matching ones in the decoder below).
Created attachment 385126 [details] Patch for landing
Comment on attachment 385126 [details] Patch for landing Clearing flags on attachment: 385126 Committed r253278: <https://trac.webkit.org/changeset/253278>
<rdar://problem/57735936>