Stop using nsISupports as argument type in some functions of ImageLoader
Categories
(Core :: Graphics: ImageLib, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: edgar, Assigned: edgar)
References
Details
Attachments
(1 file)
Like LoadImageWithChannel()
, the callers are
- https://searchfox.org/mozilla-central/rev/4e228dc5f594340d35da7453829ad9f3c3cb8b58/dom/base/nsImageLoadingContent.cpp#973
- https://searchfox.org/mozilla-central/rev/4e228dc5f594340d35da7453829ad9f3c3cb8b58/image/imgLoader.cpp#2368 where the
aCX
is from
-- https://searchfox.org/mozilla-central/rev/4e228dc5f594340d35da7453829ad9f3c3cb8b58/image/test/unit/async_load_tests.js#159
-- https://searchfox.org/mozilla-central/rev/4e228dc5f594340d35da7453829ad9f3c3cb8b58/image/test/unit/async_load_tests.js#192
-- https://searchfox.org/mozilla-central/rev/4e228dc5f594340d35da7453829ad9f3c3cb8b58/image/test/unit/async_load_tests.js#192
The nsISupports is either Document or nullptr if I read code correctly. We could simplify them by using Document as type instead of cast Document to nsISupports and the queryInterface back to Document later.
Assignee | ||
Comment 1•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
|
||
Comment 5•5 years ago
|
||
Backed out changeset 27d94573975d (Bug 1628727) for causing build bustages in imgRequest.cpp CLOSED TREE
Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&selectedJob=297178634&resultStatus=testfailed%2Cbusted%2Cexception&revision=27d94573975d9f33c224241b48143a42cc4ffb73
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=297178634&repo=autoland&lineNumber=65014
Backout: https://hg.mozilla.org/integration/autoland/rev/023e79c6df52ea2693b5f6f35bdf504c88609881
Assignee | ||
Comment 6•5 years ago
|
||
Comment 8•5 years ago
|
||
bugherder |
Description
•