Closed
Bug 123401
Opened 23 years ago
Closed 21 years ago
image loader should cache ioservice.
Categories
(Core :: Layout, defect, P3)
Tracking
()
RESOLVED
FIXED
Future
People
(Reporter: dougt, Assigned: pavlov)
Details
Attachments
(2 files)
2.22 KB,
patch
|
pavlov
:
review+
|
Details | Diff | Splinter Review |
1.12 KB,
patch
|
dougt
:
review+
dbaron
:
superreview+
|
Details | Diff | Splinter Review |
Reporter | ||
Comment 1•23 years ago
|
||
Assignee | ||
Comment 2•23 years ago
|
||
Comment on attachment 67776 [details] [diff] [review] caches io service and img loader r=pavlov
Attachment #67776 -
Flags: review+
Updated•23 years ago
|
Priority: -- → P3
Assignee | ||
Updated•23 years ago
|
Target Milestone: --- → Future
Comment 3•21 years ago
|
||
doug, is this patch still relevant? We no longer need the ioservice at all in this file....
Reporter | ||
Comment 4•21 years ago
|
||
if you say so, mark it as invalid. I remember that the image loader, at one point, smacked the service manager pretty hard for these two objects.
Comment 5•21 years ago
|
||
Yeah, at this point the prescontext is what would be smacking the service manager for the ioservice. But it already has a cached on it could use... patch coming up for that. And I'd be interested in how much both nsImageLoader and nsImageLoadingContent hit the service manager looking for the image loader... We could conceivably cache the image loader in those two places...
Comment 6•21 years ago
|
||
Updated•21 years ago
|
Attachment #121621 -
Flags: superreview?(dbaron)
Attachment #121621 -
Flags: review?(dougt)
Reporter | ||
Comment 7•21 years ago
|
||
Comment on attachment 121621 [details] [diff] [review] use the cached ioservice in the prescontext r=dougt assuming that this doesn't cause any nasty cycles. Please check this by using the reference count log.
Attachment #121621 -
Flags: review?(dougt) → review+
Comment 8•21 years ago
|
||
Doug, I did check... note that we're _already_ caching the IOService here; all I'm doing is passing it to NS_NewURI.
Reporter | ||
Comment 9•21 years ago
|
||
i didn't see any calls to GetIOService in nsPresContext -- is is probably called via the nsIPresContext interface.
Comment 10•21 years ago
|
||
Yep.
Attachment #121621 -
Flags: superreview?(dbaron) → superreview+
Comment 11•21 years ago
|
||
Patch checked in. Marking fixed.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•