Closed
Bug 1149854
Opened 11 years ago
Closed 11 years ago
Use range-based "for" loops in nsFlexContainerFrame.cpp
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
mozilla40
| Tracking | Status | |
|---|---|---|
| firefox40 | --- | fixed |
People
(Reporter: dholbert, Assigned: dholbert)
References
Details
Attachments
(1 file)
|
6.00 KB,
patch
|
xidorn
:
review+
|
Details | Diff | Splinter Review |
nsFlexContainerFrame has several usages of nsFrameList::Enumerator that can be cleaned up, now that nsFrameList supports range-based syntax (added in bug 1143513).
| Assignee | ||
Comment 1•11 years ago
|
||
This builds, which I think means it's correct.
Comment 2•11 years ago
|
||
Comment on attachment 8586506 [details] [diff] [review]
fix v1
Review of attachment 8586506 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good. r=me if I have permission to review patches :)
Attachment #8586506 -
Flags: review?(quanxunzhen) → review+
| Assignee | ||
Comment 3•11 years ago
|
||
Our "permission to review patches" is a bit fuzzy and depends on the code in question.
Two general heuristics, for future "can I review this" wonderings:
* If a module owner or peer asks you to review something (as is the case here), they're asserting that you're qualified to review it, so it should be fine (though it's within your rights to disagree & punt the review to someone else :)).
* If you've worked a lot on a feature, you're probably also implicitly fine to review changes there. (This patch here sort-of falls into that category, since the patch is *making use* of a feature that you added support for. So, you're likely the best-qualified person to sign off on it. Though -- if you received a similar review request in /netwerk, you'd probably want to be sure a module peer/owner of that code was OK with you reviewing those changes in that module before granting r+.)
| Assignee | ||
Comment 4•11 years ago
|
||
Also: thanks for the review! :)
| Assignee | ||
Comment 5•11 years ago
|
||
Flags: in-testsuite-
Comment 6•11 years ago
|
||
(In reply to Daniel Holbert [:dholbert] from comment #3)
> Our "permission to review patches" is a bit fuzzy and depends on the code in
> question.
>
> Two general heuristics, for future "can I review this" wonderings:
>
> * If a module owner or peer asks you to review something (as is the case
> here), they're asserting that you're qualified to review it, so it should be
> fine (though it's within your rights to disagree & punt the review to
> someone else :)).
>
> * If you've worked a lot on a feature, you're probably also implicitly fine
> to review changes there. (This patch here sort-of falls into that category,
> since the patch is *making use* of a feature that you added support for. So,
> you're likely the best-qualified person to sign off on it. Though -- if you
> received a similar review request in /netwerk, you'd probably want to be
> sure a module peer/owner of that code was OK with you reviewing those
> changes in that module before granting r+.)
Thanks for explaining that!
Comment 7•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in
before you can comment on or make changes to this bug.
Description
•