Closed Bug 1583203 Opened 5 years ago Closed 5 years ago

Annotate nsINode::OwnerDoc as returning non-null.

Categories

(Core :: DOM: CSS Object Model, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: emilio, Assigned: emilio)

Details

Attachments

(1 file)

No description provided.

People keep adding useless null-checks and it was not clear what the consensus
was from bug 1441165, but this should be unobjectionable I guess.

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3e3eebe862e5
Annotate nsINode::OwnerDoc() as MOZ_NONNULL_RETURN. r=smaug
Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/autoland/rev/8bc17415ff25
followup: Remove some silly null-checks.
Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/autoland/rev/ca89485fedf8
followup: Remove another silly null-check.
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/46de0744bc95
Annotate nsINode::OwnerDoc() as MOZ_NONNULL_RETURN. r=smaug
Flags: needinfo?(emilio)
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
Assignee: nobody → emilio
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: