Closed Bug 1535105 Opened 6 months ago Closed 6 months ago

Two very minor cleanups in nsGlobalWindowOuter.cpp

Categories

(DevTools :: DOM, enhancement)

enhancement
Not set

Tracking

(firefox67 fixed)

RESOLVED FIXED
Firefox 67
Tracking Status
firefox67 --- fixed

People

(Reporter: mccr8, Assigned: mccr8)

Details

Attachments

(1 file)

There are two comments like this that are obsolete:
mDocShell = aDocShell; // Weak Reference
mDocShell is a strong reference.

Also, it does not need to be initialized to null in the ctor any more.

mDocShell is now a strong reference, and it does not need to be
explicitly initialized in the constructor because it is an nsCOMPtr.

Pushed by amccreight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/685feec7f812
Two very minor cleanups in nsGlobalWindowOuter.cpp. r=nika
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 67
You need to log in before you can comment on or make changes to this bug.