RESOLVED FIXED 60873
[Qt] QtPlatformPlugin create methods should use PassOwnPtr
https://bugs.webkit.org/show_bug.cgi?id=60873
Summary [Qt] QtPlatformPlugin create methods should use PassOwnPtr
Adam Barth
Reported 2011-05-16 00:05:15 PDT
The "create" methods of QtPlatformPlugin allocate memory and pass ownership of the created object. Therefore, they should return PassOwnPtrs instead of raw pointers. That would let use get rid a bunch of manual calls to delete.
Attachments
Patch (15.65 KB, patch)
2011-05-16 00:23 PDT, Adam Barth
no flags
Adam Barth
Comment 1 2011-05-16 00:23:38 PDT
Adam Barth
Comment 2 2011-05-16 00:24:06 PDT
Note You need to log in before you can comment on or make changes to this bug.