[Webkit-unassigned] [Bug 51687] New: [Qt] GraphicsContext::getCTM() does not need to make a copy of QPainter::combinedTransform()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 28 13:36:39 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=51687

           Summary: [Qt] GraphicsContext::getCTM() does not need to make a
                    copy of QPainter::combinedTransform()
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jhanssen at gmail.com
                CC: ariya.hidayat at gmail.com, kling at webkit.org


GraphicsContext::getCTM() does not need to make a copy of the QTransform returned by QPainter::combinedTransform(), it could instead use a const reference. This will avoid a copy for compilers that don't implement (or enable by default) the NRVO optimization.

-- 
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