Closed Bug 1300544 Opened 8 years ago Closed 8 years ago

Useless declaration in layout/base/nsDisplayList.cpp nsDisplayFilter::PrintEffects

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
firefox51 --- fixed

People

(Reporter: Sylvestre, Assigned: vyas45, Mentored)

References

(Blocks 1 open bug)

Details

(Keywords: clang-analyzer, Whiteboard: [good first bug][lang=C++])

Attachments

(1 file, 2 obsolete files)

Hi, I can take up this bug. Looks like we just need to get rid of the declaration. What tests would I need to run on the patch ? Thanks, Aniket
Flags: needinfo?(sledru)
Assignee: nobody → vyas45
Attached patch bug1300544.diff (obsolete) — Splinter Review
Comment on attachment 8788715 [details] [diff] [review] bug1300544.diff I don't know for the test, you could do a try run but the code is obvious enough that we should be fine. Now, you should try to find a reviewer
Flags: needinfo?(sledru)
(In reply to Sylvestre Ledru [:sylvestre] from comment #3) > Comment on attachment 8788715 [details] [diff] [review] > bug1300544.diff > > I don't know for the test, you could do a try run but the code is obvious > enough that we should be fine. > Now, you should try to find a reviewer Ohh cool. And the best way to find a reviewer would be looking at the component owners ?
Perfect ! Thanks Sylvestre.
Perfect ! Thanks Sylvestre.
Hi Asa, Can you please look at this change set. Thanks, Aniket
Status: NEW → ASSIGNED
Flags: needinfo?(asa)
I'm not the right person to look at this. Sorry.
Flags: needinfo?(asa)
Attachment #8788715 - Flags: review?(bzbarsky)
Attachment #8788715 - Flags: review?(bzbarsky) → review?(cku)
Comment on attachment 8788715 [details] [diff] [review] bug1300544.diff Review of attachment 8788715 [details] [diff] [review]: ----------------------------------------------------------------- r+ for me, but I am not layout/view peer. mstange, please help to review it. Aniket, you may refer to this page to find out a suitable one for reviewing: https://wiki.mozilla.org/Modules/Core
Attachment #8788715 - Flags: review?(mstange)
Attachment #8788715 - Flags: review?(cku)
Attachment #8788715 - Flags: review+
Comment on attachment 8788715 [details] [diff] [review] bug1300544.diff Thanks, Aniket.
Attachment #8788715 - Flags: review?(mstange) → review+
Thanks a lot guys for the help ! What should be the next steps for getting the code in ? 1. Do I need to run any specific tests ? 2. What would be the commit procedure ? Thanks, Aniket
In this case you do not need to run any tests, because this code is only used in debug logging output, which is not analyzed in tests, and because the change is so simple that it's very easy to see that it will not have any adverse effects. Please attach the patch with the correct author + commit message, as described here: https://developer.mozilla.org/en-US/docs/Mercurial/Using_Mercurial#How_can_I_generate_a_patch_for_somebody_else_to_check-in_for_me.3F And then request checkin using the checkin-needed keyword on the bug, as described here: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/How_to_Submit_a_Patch#Getting_the_patch_checked_into_the_tree
Attached patch bug1300544.diff (obsolete) — Splinter Review
Attachment #8788715 - Attachment is obsolete: true
Attachment #8789483 - Flags: checkin?
Have updated the diff. Regarding the checkin-needed keyword, i only see "checkin" keyword. Probably I do not have the privileges to add the keyword ?
Flags: needinfo?(mstange)
The commit message should also list your reviewers. Add this at the end: r=cjku, r=mstange I can add the checkin-needed keyword to the bug once you've done that.
Flags: needinfo?(mstange)
Attached patch bug1300544.diffSplinter Review
Attachment #8789483 - Attachment is obsolete: true
Attachment #8789483 - Flags: checkin?
Done. Thanks for the hand holding Markus.
Thanks!
Keywords: checkin-needed
Pushed by kwierso@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/93cf1a5af6a0 Remove the useless declaration in layout/base/nsDisplayList.cpp <nsDisplayFilter::PrintEffects>. r=cjku, r=mstange
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: