Changeset 116681 in webkit


Ignore:
Timestamp:
May 10, 2012 1:24:20 PM (12 years ago)
Author:
yurys@chromium.org
Message:

Web Inspector: heap snapshot comparison view is broken
https://bugs.webkit.org/show_bug.cgi?id=86102

Reviewed by Pavel Feldman.

Pass HeapSnapshotProxy instead of undefined to the profile load callback. Added
compiler annotations to avoid such errors in the future.

  • inspector/front-end/HeapSnapshotView.js:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r116679 r116681  
     12012-05-10  Yury Semikhatsky  <yurys@chromium.org>
     2
     3        Web Inspector: heap snapshot comparison view is broken
     4        https://bugs.webkit.org/show_bug.cgi?id=86102
     5
     6        Reviewed by Pavel Feldman.
     7
     8        Pass HeapSnapshotProxy instead of undefined to the profile load callback. Added
     9        compiler annotations to avoid such errors in the future.
     10
     11        * inspector/front-end/HeapSnapshotView.js:
     12
    1132012-05-10  Zan Dobersek  <zandobersek@gmail.com>
    214
  • trunk/Source/WebCore/inspector/front-end/HeapSnapshotView.js

    r116222 r116681  
    791791    /**
    792792     * @override
    793      * @param {Function} callback
     793     * @param {function(WebInspector.HeapSnapshotProxy):void} callback
    794794     */
    795795    load: function(callback)
    796796    {
    797797        if (this._loaded) {
    798             callback.call(null);
     798            callback(this._proxy);
    799799            return;
    800800        }
Note: See TracChangeset for help on using the changeset viewer.