Changeset 109743 in webkit
- Timestamp:
- Mar 5, 2012 7:24:45 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/PerformanceTests/ChangeLog
r109615 r109743 1 2012-03-05 Ilya Tikhonovsky <loislo@chromium.org> 2 3 Web Inspector: [chromium] introduce HeapSnapshot performance test. 4 https://bugs.webkit.org/show_bug.cgi?id=80280 5 6 Reviewed by Pavel Feldman. 7 8 * inspector/detailed-heapshots-smoke-test.html: Added. 9 1 10 2012-03-01 Ryosuke Niwa <rniwa@webkit.org> 2 11 -
trunk/Source/WebCore/ChangeLog
r109742 r109743 1 2012-03-05 Ilya Tikhonovsky <loislo@chromium.org> 2 3 Web Inspector: [chromium] introduce HeapSnapshot performance test. 4 https://bugs.webkit.org/show_bug.cgi?id=80280 5 6 Reviewed by Pavel Feldman. 7 8 * inspector/front-end/HeapSnapshotProxy.js: 9 (WebInspector.HeapSnapshotLoaderProxy.prototype.finishLoading.updateStaticData): 10 (WebInspector.HeapSnapshotLoaderProxy.prototype.finishLoading): 11 (WebInspector.HeapSnapshotLoaderProxy.prototype._callLoadCallbacks): 12 1 13 2012-03-05 Pavel Feldman <pfeldman@chromium.org> 2 14 -
trunk/Source/WebCore/inspector/front-end/HeapSnapshotProxy.js
r105598 r109743 264 264 this._loading = false; 265 265 this._loaded = true; 266 function callLoadCallbacks(snapshotProxy) 267 { 268 for (var i = 0; i < loadCallbacks.length; ++i) 269 loadCallbacks[i](snapshotProxy); 270 } 266 var self = this; 271 267 function updateStaticData(snapshotProxy) 272 268 { 273 269 this.dispose(); 274 snapshotProxy.updateStaticData( callLoadCallbacks);270 snapshotProxy.updateStaticData(this._callLoadCallbacks.bind(this, loadCallbacks)); 275 271 } 276 272 this.callFactoryMethod(updateStaticData.bind(this), "finishLoading", "WebInspector.HeapSnapshotProxy"); 277 273 return true; 274 }, 275 276 _callLoadCallbacks: function(loadCallbacks, snapshotProxy) 277 { 278 for (var i = 0; i < loadCallbacks.length; ++i) 279 loadCallbacks[i](snapshotProxy); 278 280 }, 279 281
Note: See TracChangeset
for help on using the changeset viewer.