Changeset 140135 in webkit


Ignore:
Timestamp:
Jan 18, 2013 5:48:03 AM (11 years ago)
Author:
yurys@chromium.org
Message:

Web Inspector: remove dead code from heap profiler front-end
https://bugs.webkit.org/show_bug.cgi?id=107265

Reviewed by Pavel Feldman.

  • inspector/front-end/HeapSnapshotView.js: removed unused methods.
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r140129 r140135  
     12013-01-18  Yury Semikhatsky  <yurys@chromium.org>
     2
     3        Web Inspector: remove dead code from heap profiler front-end
     4        https://bugs.webkit.org/show_bug.cgi?id=107265
     5
     6        Reviewed by Pavel Feldman.
     7
     8        * inspector/front-end/HeapSnapshotView.js: removed unused methods.
     9
    1102013-01-18  Yury Semikhatsky  <yurys@chromium.org>
    211
  • trunk/Source/WebCore/inspector/front-end/HeapSnapshotView.js

    r139998 r140135  
    430430    },
    431431
    432     processLoadedSnapshot: function(profile, snapshot)
    433     {
    434         profile.nodes = snapshot.nodes;
    435         profile.strings = snapshot.strings;
    436         var s = new WebInspector.HeapSnapshot(profile);
    437         profile.sidebarElement.subtitle = Number.bytesToString(s.totalSize);
    438     },
    439 
    440432    /**
    441433     * @param {WebInspector.ContextMenu} contextMenu
     
    850842    },
    851843
    852     snapshotProxy: function()
    853     {
    854         return this._snapshotProxy;
    855     },
    856 
    857844    /**
    858845     * @override
     
    983970        this._fileName = this._fileName || "Heap-" + new Date().toISO8601Compact() + ".heapsnapshot";
    984971        fileOutputStream.open(this._fileName, onOpen.bind(this));
    985     },
    986 
    987     /**
    988      * @return {boolean}
    989      */
    990     canLoadFromFile: function()
    991     {
    992         return false;
    993972    },
    994973
  • trunk/Source/WebCore/inspector/front-end/ProfilesPanel.js

    r139408 r140135  
    186186
    187187    /**
    188      * @return {boolean}
    189      */
    190     canLoadFromFile: function() { return false; },
    191 
    192     /**
    193188     * @param {File} file
    194189     */
Note: See TracChangeset for help on using the changeset viewer.