[Webkit-unassigned] [Bug 60873] New: [Qt] QtPlatformPlugin create methods should use PassOwnPtr
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 16 00:05:15 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=60873
Summary: [Qt] QtPlatformPlugin create methods should use
PassOwnPtr
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit Qt
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: abarth at webkit.org
CC: ossy at webkit.org
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.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list