Summary: | Web Inspector: add unknown size to the memory pie-chart legend | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Yury Semikhatsky <yurys> | ||||||
Component: | Web Inspector (Deprecated) | Assignee: | Yury Semikhatsky <yurys> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 87262 | ||||||||
Attachments: |
|
Description
Yury Semikhatsky
2012-06-01 05:45:01 PDT
Created attachment 145278 [details]
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=145278&action=review > Source/WebCore/inspector/front-end/NativeMemorySnapshotView.js:105 > + memoryBlock.children.push({ > + name: "Unknown", > + size: memoryBlock.size - knownSize I think it is not necessary to add 'unknown' memory block if unknown size is equal to 0. Created attachment 145286 [details]
Patch
(In reply to comment #2) > View in context: https://bugs.webkit.org/attachment.cgi?id=145278&action=review > > > Source/WebCore/inspector/front-end/NativeMemorySnapshotView.js:105 > > + memoryBlock.children.push({ > > + name: "Unknown", > > + size: memoryBlock.size - knownSize > > I think it is not necessary to add 'unknown' memory block if unknown size is equal to 0. Done. Comment on attachment 145286 [details] Patch Clearing flags on attachment: 145286 Committed r119386: <http://trac.webkit.org/changeset/119386> All reviewed patches have been landed. Closing bug. |