The descendants of the Shapes class have to expose some internal workings in order to build the paths for the inspector highlights. A cleaner implementation would just pass a path or data struct in to the shape to be populated.
Created attachment 217602 [details] Initial patch
Created attachment 217624 [details] Renaming buildInspectorPath to buildPath
Comment on attachment 217624 [details] Renaming buildInspectorPath to buildPath Clearing flags on attachment: 217624 Committed r159671: <http://trac.webkit.org/changeset/159671>
All reviewed patches have been landed. Closing bug.