WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
99339
Make RenderTable columns() and columnPositions() return a const reference
https://bugs.webkit.org/show_bug.cgi?id=99339
Summary
Make RenderTable columns() and columnPositions() return a const reference
Julien Chaffraix
Reported
2012-10-15 10:57:05 PDT
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.
Attachments
Proposed change. Added more constness and a getter.
(5.71 KB, patch)
2012-10-15 11:09 PDT
,
Julien Chaffraix
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Julien Chaffraix
Comment 1
2012-10-15 11:09:48 PDT
Created
attachment 168743
[details]
Proposed change. Added more constness and a getter.
WebKit Review Bot
Comment 2
2012-10-15 14:52:25 PDT
Comment on
attachment 168743
[details]
Proposed change. Added more constness and a getter. Clearing flags on attachment: 168743 Committed
r131366
: <
http://trac.webkit.org/changeset/131366
>
WebKit Review Bot
Comment 3
2012-10-15 14:52:28 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.
Top of Page
Format For Printing
XML
Clone This Bug