Closed
Bug 1429313
Opened 7 years ago
Closed 7 years ago
reuse |nextColIndex| to reduce unnecessary calls
Categories
(Core :: Layout: Tables, enhancement)
Core
Layout: Tables
Tracking
()
RESOLVED
FIXED
mozilla59
| Tracking | Status | |
|---|---|---|
| firefox59 | --- | fixed |
People
(Reporter: ywu, Assigned: ywu)
Details
Attachments
(1 file, 1 obsolete file)
|
2.23 KB,
patch
|
ywu
:
review+
|
Details | Diff | Splinter Review |
We can reuse |nextColIndex|[1] for the function below because we wouldn't change |info|'s colIndex in that function.
https://searchfox.org/mozilla-central/rev/03877052c151a8f062eea177f684a2743cd7b1d5/layout/tables/nsTableFrame.cpp#6460
Attachment #8941347 -
Flags: review?(tlin)
| Assignee | ||
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
Comment on attachment 8941347 [details] [diff] [review]
0001-reduce-unnecessary-calls.patch
Review of attachment 8941347 [details] [diff] [review]:
-----------------------------------------------------------------
Nit: You'll need to add the bug number to the commit title.
Also, "reduce unnecessary calls" is not clear to me. How about something like: "Reuse nextColIndex to avoid extra BCMapCellInfo::GetCellEndRowIndex() calls"?
Attachment #8941347 -
Flags: review?(tlin) → review+
| Assignee | ||
Comment 3•7 years ago
|
||
(In reply to Ting-Yu Lin [:TYLin] (UTC+8) from comment #2)
> Nit: You'll need to add the bug number to the commit title.
>
> Also, "reduce unnecessary calls" is not clear to me. How about something
> like: "Reuse nextColIndex to avoid extra BCMapCellInfo::GetCellEndRowIndex()
> calls"?
done. thx!
Attachment #8941347 -
Attachment is obsolete: true
Attachment #8941358 -
Flags: review+
| Assignee | ||
Comment 4•7 years ago
|
||
| Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b62099b50fc7
Reuse nextColIndex to avoid extra BCMapCellInfo::GetCellEndRowIndex() calls. r=tylin
Keywords: checkin-needed
Comment 6•7 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in
before you can comment on or make changes to this bug.
Description
•