Closed Bug 1446921 Opened 6 years ago Closed 6 years ago

Remove last two arguments of nsContentUtils::CanLoadImage because they are unused

Categories

(Core :: DOM: Security, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla62
Tracking Status
firefox62 --- fixed

People

(Reporter: ckerschb, Assigned: baku)

References

Details

(Whiteboard: [domsecurity-backlog1])

Attachments

(1 file)

It seems the last two arguments are unused, we should remove them:

nsContentUtils::CanLoadImage(nsIURI* aURI, nsINode* aNode,
                             nsIDocument* aLoadingDocument,
                             nsIPrincipal* aLoadingPrincipal,
                             int16_t* aImageBlockingStatus,
                             uint32_t aContentType)
Depends on: 1439713
Priority: -- → P3
Whiteboard: [domsecurity-backlog1]
Assignee: nobody → amarchesini
Attachment #8981857 - Flags: review?(kyle)
Attachment #8981857 - Flags: review?(kyle) → review+
Pushed by amarchesini@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/441c8d61560a
Get rid of 2 unused parameters in nsContentUtils::CanLoadImage, r=qdot
https://hg.mozilla.org/mozilla-central/rev/441c8d61560a
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: