Closed
Bug 1406265
Opened 8 years ago
Closed 8 years ago
[BC] SetIStartStart(), IsIStartStart(), IsBStartStart() and SetBStartStart() are not well used
Categories
(Core :: Layout: Tables, enhancement, P3)
Core
Layout: Tables
Tracking
()
RESOLVED
FIXED
mozilla58
Tracking | Status | |
---|---|---|
firefox58 | --- | fixed |
People
(Reporter: ywu, Assigned: ywu)
Details
Attachments
(1 file, 1 obsolete file)
4.14 KB,
patch
|
ywu
:
review+
|
Details | Diff | Splinter Review |
I am tracing the table code for Bug 1405929 and it is pains for me that we don't use SetIStartStart(), IsIStartStart(), IsBStartStart() and SetBStartStart() properly. For SetIStartStart(), we don't even use it. I would like to change the places where we should use inline SetXXX() or inline IsXXX() instead of changing/getting the member values directly.
Assignee | ||
Comment 1•8 years ago
|
||
Assignee | ||
Comment 2•8 years ago
|
||
Comment on attachment 8915813 [details] [diff] [review]
0001-Bug-1406265-use-SetXXX-and-IsXXX-instead-of-chaning-.patch
David,
In this patch, I changed the places where we directly got/modified the |mBStartStart| and |mIStartStart| instead of calling the functions we created. This could make it clear where we change/get the |mBStartStart| and |mIStartStart|.
try looks ok: https://treeherder.mozilla.org/#/jobs?repo=try&revision=06cd5a49a07524feaa7b24a16a1dbec5ce6ba376&selectedJob=135297404
Attachment #8915813 -
Flags: review?(dbaron)
Comment on attachment 8915813 [details] [diff] [review]
0001-Bug-1406265-use-SetXXX-and-IsXXX-instead-of-chaning-.patch
># HG changeset patch
># User Ya-Chieh Wu <ywu@mozilla.com>
>
>Bug 1406265 - use SetXXX and IsXXX instead of chaning the member directly
s/chaning/changing/, and probably s/XXX/*/
(Also, it would be better for the Is* and Set* methods to be defined right where they're declared rather than being defined at the end of the header file.)
Attachment #8915813 -
Flags: review?(dbaron) → review+
Assignee | ||
Comment 4•8 years ago
|
||
try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=d3d68639a77660ef80b4e015605e565296dfb6ce
Attachment #8915813 -
Attachment is obsolete: true
Attachment #8916475 -
Flags: review+
Updated•8 years ago
|
Status: NEW → ASSIGNED
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/fc7f5199a0e2
use Set* and Is* instead of changing/getting the member directly. r=dbaron
Keywords: checkin-needed
![]() |
||
Comment 7•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
You need to log in
before you can comment on or make changes to this bug.
Description
•