[Webkit-unassigned] [Bug 43735] New: C++ DOM binding classes with private structs need operator= overload

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 9 11:35:13 PDT 2010


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

           Summary: C++ DOM binding classes with private structs need
                    operator= overload
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: Wx
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kevino at theolliviers.com


C++ DOM binding classes which have a private struct that manages the WebCore pointer already have a copy constructor defined that passes the pointer properly, but they do not define operator= so outside of construction, assignment leads to a crash, since it does a simple copy of the private structure rather than creating a new one and assigning the pointer.

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