Closed Bug 1443425 Opened 6 years ago Closed 6 years ago

nsContentSink::StartLayout: shellGrip is probably useless

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla60
Tracking Status
firefox60 --- fixed

People

(Reporter: Sylvestre, Assigned: mmrxyz, Mentored)

Details

(Whiteboard: [good first bug][lang=C++])

Attachments

(1 file, 1 obsolete file)

Hello, 
I would like to take this as my Good First Bug. Can you assign it to me?
Sure, I will assign it to you once you submitted your first patch! Thanks
Can I take this bug?
Does it look good?
Flags: needinfo?(sledru)
Attachment #8957235 - Attachment is obsolete: true
Flags: needinfo?(sledru)
Looks good, now please try to find an appropriate reviewer!
Assignee: nobody → mmrxyz
Hello,
Would you be able to review the patch?
Thanks
Flags: needinfo?(bzbarsky)
Please use the appropriate flag for review. see:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/How_to_Submit_a_Patch#Getting_the_patch_reviewed
Flags: needinfo?(bzbarsky)
Comment on attachment 8957240 [details] [diff] [review]
Bug1443425_UnusedVariableShellGrip.diff

r=me

At first I thought we couldn't take this because this was grabbing a strong reference to the shell to avoid it dying from Initialize, but turns out that "shell" is already a strong reference, so this should be fine.
Attachment #8957240 - Flags: review+
But yeah, next time please flag someone with review? instead :)

Thanks for your patch!
Pushed by ecoal95@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/457704c7f810
Removed unused variable shellGrip. r=emilio
Keywords: checkin-needed
Emilio landed the patch for you!
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/457704c7f810
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
Thank you for fixing!

For context, looks like "shell" used to be a raw pointer until bug 378776 was fixed, which is when shellGrip became useless.
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: