Changeset 143455 in webkit


Ignore:
Timestamp:
Feb 20, 2013 5:40:19 AM (11 years ago)
Author:
loislo@chromium.org
Message:

Web Inspector: fix for frontend closure compile errors.
https://bugs.webkit.org/show_bug.cgi?id=110329

Reviewed by Vsevolod Vlasov.

It has no tests because it has no code changes.

  • inspector/front-end/HeapSnapshot.js:

(HeapSnapshotMetainfo):

  • inspector/front-end/NativeMemorySnapshotView.js:

(WebInspector.NativeSnapshotProfileType.prototype.buttonClicked.didReceiveMemorySnapshot):
(WebInspector.NativeSnapshotProfileType.prototype.buttonClicked):

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r143454 r143455  
     12013-02-20  Ilya Tikhonovsky  <loislo@chromium.org>
     2
     3        Web Inspector: fix for frontend closure compile errors.
     4        https://bugs.webkit.org/show_bug.cgi?id=110329
     5
     6        Reviewed by Vsevolod Vlasov.
     7
     8        It has no tests because it has no code changes.
     9
     10        * inspector/front-end/HeapSnapshot.js:
     11        (HeapSnapshotMetainfo):
     12        * inspector/front-end/NativeMemorySnapshotView.js:
     13        (WebInspector.NativeSnapshotProfileType.prototype.buttonClicked.didReceiveMemorySnapshot):
     14        (WebInspector.NativeSnapshotProfileType.prototype.buttonClicked):
     15
    1162013-02-20  Florin Malita  <fmalita@chromium.org>
    217
  • trunk/Source/WebCore/inspector/front-end/HeapSnapshot.js

    r143218 r143455  
    509509    this.edge_fields = [];
    510510    this.edge_types = [];
     511    this.type_strings = {};
    511512
    512513    // Old format.
  • trunk/Source/WebCore/inspector/front-end/NativeMemorySnapshotView.js

    r143218 r143455  
    267267         * @param {?string} error
    268268         * @param {?MemoryAgent.MemoryBlock} memoryBlock
     269         * @param {Object=} graphMetaInformation
    269270         */
    270271        function didReceiveMemorySnapshot(error, memoryBlock, graphMetaInformation)
    271272        {
     273            var metaInformation = /** @type{HeapSnapshotMetainfo} */(graphMetaInformation);
    272274            this.isTemporary = false;
    273275            this.sidebarElement.subtitle = Number.bytesToString(/** @type{number} */(memoryBlock.size));
    274276
    275             var edgeFieldCount = graphMetaInformation.edge_fields.length;
    276             var nodeFieldCount = graphMetaInformation.node_fields.length;
    277             var nodeIdFieldOffset = graphMetaInformation.node_fields.indexOf("id");
    278             var toNodeIdFieldOffset = graphMetaInformation.edge_fields.indexOf("to_node");
     277            var edgeFieldCount = metaInformation.edge_fields.length;
     278            var nodeFieldCount = metaInformation.node_fields.length;
     279            var nodeIdFieldOffset = metaInformation.node_fields.indexOf("id");
     280            var toNodeIdFieldOffset = metaInformation.edge_fields.indexOf("to_node");
    279281
    280282            var baseToRealNodeIdMap = {};
     
    296298            var heapSnapshot = {
    297299                "snapshot": {
    298                     "meta": graphMetaInformation,
     300                    "meta": metaInformation,
    299301                    node_count: this._nodes.length / nodeFieldCount,
    300302                    edge_count: this._edges.length / edgeFieldCount,
Note: See TracChangeset for help on using the changeset viewer.