Skip to content
  • commit-queue@webkit.org's avatar
    Web Inspector: Always show percents together with counters in heap inspector. · 3398423f
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=77434
    
    Source/WebCore:
    
    Patch by Alexei Filippov <alexeif@chromium.org> on 2012-02-02
    Reviewed by Pavel Feldman.
    
    * inspector/front-end/DetailedHeapshotGridNodes.js:
    (WebInspector.HeapSnapshotGridNode.prototype._toPercentString):
    (WebInspector.HeapSnapshotGridNode.prototype._createValueCell):
    (WebInspector.HeapSnapshotGenericObjectNode.prototype.createCell):
    (WebInspector.HeapSnapshotGenericObjectNode.prototype.get data):
    (WebInspector.HeapSnapshotConstructorNode.prototype.createCell):
    (WebInspector.HeapSnapshotConstructorNode.prototype.get data):
    (WebInspector.HeapSnapshotDiffNode.prototype.get data):
    * inspector/front-end/DetailedHeapshotView.js:
    (WebInspector.HeapSnapshotContainmentDataGrid):
    (WebInspector.HeapSnapshotConstructorsDataGrid):
    (WebInspector.HeapSnapshotDiffDataGrid):
    (WebInspector.HeapSnapshotDominatorsDataGrid):
    (WebInspector.DetailedHeapshotView.prototype._mouseDownInContentsGrid):
    (WebInspector.DetailedHeapshotView.prototype.get _isShowingAsPercent):
    (WebInspector.DetailedHeapshotView.prototype._percentClicked):
    * inspector/front-end/heapProfiler.css:
    (.detailed-heapshot-view .data-grid span.percent-column):
    
    LayoutTests:
    
    Added parseInt conversion as counters are now strings not ints.
    
    Patch by Alexei Filippov <alexeif@chromium.org> on 2012-02-02
    Reviewed by Pavel Feldman.
    
    * inspector/profiler/detailed-heapshots-comparison-show-all.html:
    * inspector/profiler/detailed-heapshots-comparison-show-next.html:
    * inspector/profiler/detailed-heapshots-summary-show-all.html:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106633 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    3398423f