| Summary: | Use an anonymous union of std::unique_ptr members in SVGAnimatedType | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Zan Dobersek <zan> | ||||
| Component: | New Bugs | Assignee: | Zan Dobersek <zan> | ||||
| Status: | NEW --- | ||||||
| Severity: | Normal | CC: | d-r, fmalita, gyuyoung.kim, pdr, schenney, sergio, webkit-ews | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Zan Dobersek
2014-03-16 13:49:02 PDT
Created attachment 226861 [details]
Patch
Comment on attachment 226861 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=226861&action=review > Source/WebCore/ChangeLog:10 > + Make the union in SVGAnimatedType anonymous. The members of the union are now > + std::unique_ptr objects instead of raw pointers, enabling simply moving the > + passed-in std::unique_ptr objects in create*() methods. Great idea, but looks like the Windows compiler does not support this advanced C++ feature yet. Can’t do this unless we solve this problem on Windows. |