Title: [116681] trunk/Source/WebCore
- Revision
- 116681
- Author
- [email protected]
- Date
- 2012-05-10 13:24:20 -0700 (Thu, 10 May 2012)
Log 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:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (116680 => 116681)
--- trunk/Source/WebCore/ChangeLog 2012-05-10 20:24:14 UTC (rev 116680)
+++ trunk/Source/WebCore/ChangeLog 2012-05-10 20:24:20 UTC (rev 116681)
@@ -1,3 +1,15 @@
+2012-05-10 Yury Semikhatsky <[email protected]>
+
+ 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:
+
2012-05-10 Zan Dobersek <[email protected]>
[GTK] ENABLE_IFRAME_SEAMLESS support
Modified: trunk/Source/WebCore/inspector/front-end/HeapSnapshotView.js (116680 => 116681)
--- trunk/Source/WebCore/inspector/front-end/HeapSnapshotView.js 2012-05-10 20:24:14 UTC (rev 116680)
+++ trunk/Source/WebCore/inspector/front-end/HeapSnapshotView.js 2012-05-10 20:24:20 UTC (rev 116681)
@@ -790,12 +790,12 @@
WebInspector.HeapProfileHeader.prototype = {
/**
* @override
- * @param {Function} callback
+ * @param {function(WebInspector.HeapSnapshotProxy):void} callback
*/
load: function(callback)
{
if (this._loaded) {
- callback.call(null);
+ callback(this._proxy);
return;
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes