Title: [140135] trunk/Source/WebCore
Revision
140135
Author
[email protected]
Date
2013-01-18 05:48:03 -0800 (Fri, 18 Jan 2013)

Log 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.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (140134 => 140135)


--- trunk/Source/WebCore/ChangeLog	2013-01-18 13:46:07 UTC (rev 140134)
+++ trunk/Source/WebCore/ChangeLog	2013-01-18 13:48:03 UTC (rev 140135)
@@ -1,5 +1,14 @@
 2013-01-18  Yury Semikhatsky  <[email protected]>
 
+        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.
+
+2013-01-18  Yury Semikhatsky  <[email protected]>
+
         Unreviewed. Fix Qt minimal compilation after r140127
 
         * inspector/InspectorInstrumentation.h:

Modified: trunk/Source/WebCore/inspector/front-end/HeapSnapshotView.js (140134 => 140135)


--- trunk/Source/WebCore/inspector/front-end/HeapSnapshotView.js	2013-01-18 13:46:07 UTC (rev 140134)
+++ trunk/Source/WebCore/inspector/front-end/HeapSnapshotView.js	2013-01-18 13:48:03 UTC (rev 140135)
@@ -429,14 +429,6 @@
         return this.parent.getProfiles(WebInspector.HeapSnapshotProfileType.TypeId);
     },
 
-    processLoadedSnapshot: function(profile, snapshot)
-    {
-        profile.nodes = snapshot.nodes;
-        profile.strings = snapshot.strings;
-        var s = new WebInspector.HeapSnapshot(profile);
-        profile.sidebarElement.subtitle = Number.bytesToString(s.totalSize);
-    },
-
     /**
      * @param {WebInspector.ContextMenu} contextMenu
      * @param {Event} event
@@ -849,11 +841,6 @@
         return new WebInspector.HeapSnapshotView(profilesPanel, this);
     },
 
-    snapshotProxy: function()
-    {
-        return this._snapshotProxy;
-    },
-
     /**
      * @override
      * @param {function(WebInspector.HeapSnapshotProxy):void} callback
@@ -985,14 +972,6 @@
     },
 
     /**
-     * @return {boolean}
-     */
-    canLoadFromFile: function()
-    {
-        return false;
-    },
-
-    /**
      * @override
      * @param {File} file
      */

Modified: trunk/Source/WebCore/inspector/front-end/ProfilesPanel.js (140134 => 140135)


--- trunk/Source/WebCore/inspector/front-end/ProfilesPanel.js	2013-01-18 13:46:07 UTC (rev 140134)
+++ trunk/Source/WebCore/inspector/front-end/ProfilesPanel.js	2013-01-18 13:48:03 UTC (rev 140135)
@@ -185,11 +185,6 @@
     saveToFile: function() { throw new Error("Needs implemented"); },
 
     /**
-     * @return {boolean}
-     */
-    canLoadFromFile: function() { return false; },
-
-    /**
      * @param {File} file
      */
     loadFromFile: function(file) { throw new Error("Needs implemented"); },
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to