Switch the D2D Path implementation to use a smart pointer for Direct2D native path types to reduce memory leaks.
Created attachment 292843 [details] Patch Strip the Path refactoring changes out of Bug 163898.
Comment on attachment 292843 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=292843&action=review > Source/WebCore/platform/graphics/Path.h:172 > +#if USE(DIRECT2D) > + PlatformPathPtr platformPath() const { return m_path.get(); } > +#else > PlatformPathPtr platformPath() const { return m_path; } > +#endif It seems like other platforms ought to follow this and use smart pointers.
Comment on attachment 292843 [details] Patch Clearing flags on attachment: 292843 Committed r207863: <http://trac.webkit.org/changeset/207863>
All reviewed patches have been landed. Closing bug.