[Webkit-unassigned] [Bug 99339] New: Make RenderTable columns() and columnPositions() return a const reference

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 15 10:56:17 PDT 2012


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

           Summary: Make RenderTable columns() and columnPositions()
                    return a const reference
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tables
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jchaffraix at webkit.org


The 2 functions currently return a mutable Vector reference. Only FixedTableLayout and AutoTableLayout are expected to change the values, yet most of the code is allowed to. The easy fix is to add a setter as needed so that unintended modifications are caught by the compiler.

Patch forthcoming.

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