Closed Bug 1152440 Opened 9 years ago Closed 2 years ago

replace use of `0` with `nullptr` in embedding/components/windowwatcher/nsWindowWatcher.cpp

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
103 Branch
Tracking Status
firefox103 --- fixed

People

(Reporter: nick, Assigned: mccr8)

Details

Attachments

(2 files)

embedding/components/windowwatcher/nsWindowWatcher.cpp

is full of the use of 0 for pointer values instead of nullptr.  We should clean this up.  Good first bug!
Assignee: nobody → dbryant
Oh, I just noticed this problem, too.  Bug 1130096 is going to clean up the style of this file, so it'll probably bitrot any patch you may have.
Let me know if you have any questions about this. If you aren't actually working on this feel free to just unassign yourself. ;)
OS: Mac OS X → All
Hardware: x86 → All
Component: DOM → DOM: Core & HTML

The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.

Assignee: dbryant → nobody
Assignee: nobody → continuation

I produced this patch by manually looking at every instance of 0 in the file.

Also remove a closing */ that snuck in somehow.

Pushed by amccreight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/30ca5d860cb9
part 1 - Replace 0 with nullptr in nsWindowWatcher.cpp. r=smaug
https://hg.mozilla.org/integration/autoland/rev/8a5dff408920
part 2 - Only declare one variable per line in SizeOpenedWindow. r=smaug
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: