RESOLVED FIXED 47460
[Qt] Fast-path in Path::clear() for already empty paths
https://bugs.webkit.org/show_bug.cgi?id=47460
Summary [Qt] Fast-path in Path::clear() for already empty paths
Andreas Kling
Reported 2010-10-09 15:29:56 PDT
The only way to clear a QPainterPath is to assign QPainterPath() to it. Avoid creating a temporary object etc if the path is already empty.
Attachments
Proposed patch (1.05 KB, patch)
2010-10-09 15:30 PDT, Andreas Kling
no flags
Andreas Kling
Comment 1 2010-10-09 15:30:57 PDT
Created attachment 70378 [details] Proposed patch
Andreas Kling
Comment 2 2010-10-09 16:56:39 PDT
Comment on attachment 70378 [details] Proposed patch Clearing flags on attachment: 70378 Committed r69462: <http://trac.webkit.org/changeset/69462>
Andreas Kling
Comment 3 2010-10-09 16:56:48 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.