Closed
Bug 1045241
Opened 11 years ago
Closed 11 years ago
Make memory reporting for LocationService more normal
Categories
(Core :: DMD, defect)
Core
DMD
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: mccr8, Assigned: mccr8)
References
Details
Attachments
(1 file, 1 obsolete file)
|
2.92 KB,
patch
|
n.nethercote
:
review+
|
Details | Diff | Splinter Review |
For some reason, the SizeOf methods of LocationService don't take MallocSizeOf arguments, but just directly call into a fixed MallocSizeOf function. This prevents it from being used in other places.
| Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8464082 -
Flags: review?(n.nethercote)
| Assignee | ||
Comment 2•11 years ago
|
||
I also tried to convert it the style of the method itself to something matching more what you see elsewhere, so any nits with regards to that are welcome.
| Assignee | ||
Updated•11 years ago
|
Attachment #8464082 -
Flags: review?(n.nethercote)
| Assignee | ||
Comment 3•11 years ago
|
||
Somehow I managed to mess up the indentation.
Attachment #8464082 -
Attachment is obsolete: true
Attachment #8464142 -
Flags: review?(n.nethercote)
| Assignee | ||
Comment 4•11 years ago
|
||
Comment 5•11 years ago
|
||
Comment on attachment 8464142 [details] [diff] [review]
Make memory reporting for LocationService more normal.
Review of attachment 8464142 [details] [diff] [review]:
-----------------------------------------------------------------
::: memory/replace/dmd/DMD.cpp
@@ +652,1 @@
> // Don't measure mLibrary because it's externally owned.
Probably move this comment to above the declaration of |n|.
Attachment #8464142 -
Flags: review?(n.nethercote) → review+
| Assignee | ||
Comment 6•11 years ago
|
||
(In reply to Nicholas Nethercote [:njn] from comment #5)
> Probably move this comment to above the declaration of |n|.
Done.
https://hg.mozilla.org/integration/mozilla-inbound/rev/11f68c58e5db
Comment 7•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
Comment 8•11 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•