[CSS Shapes] Remove unnecessarily complex template from ShapeInfo classes
Created attachment 211400 [details] Patch purge horrid template mess
Comment on attachment 211400 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=211400&action=review > Source/WebCore/rendering/shapes/ShapeInfo.h:113 > + virtual ShapeValue* getShapeValue() const = 0; In WebKit coding style, functions like this one are supposed to be named just "shapeValue()" without the get prefix. > Source/WebCore/rendering/shapes/ShapeInsideInfo.h:65 > +class ShapeInsideInfo : public ShapeInfo<RenderBlock> { Can this class be marked FINAL? > Source/WebCore/rendering/shapes/ShapeOutsideInfo.h:42 > +class ShapeOutsideInfo : public ShapeInfo<RenderBox>, public MappedInfo<RenderBox, ShapeOutsideInfo> { Can this class be marked FINAL?
Created attachment 211434 [details] Patch Fix style and add FINAL per review comments.
Comment on attachment 211434 [details] Patch Clearing flags on attachment: 211434 Committed r155627: <http://trac.webkit.org/changeset/155627>
All reviewed patches have been landed. Closing bug.
If you liked the compile time aspect of the old solution and wanted to solve this without virtual function call overhead, the appropriate technique probably would be traits.