Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1981)

Unified Diff: Source/devtools/front_end/HeapSnapshot.js

Issue 206393004: Remove HeapSnapshotItemIterator.rewind (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/devtools/front_end/HeapSnapshot.js
diff --git a/Source/devtools/front_end/HeapSnapshot.js b/Source/devtools/front_end/HeapSnapshot.js
index 1e531d6d205ab17031f7bbe1b1282a9e562a355c..e53437e425fa1d4bc965c97df7e4e27b9314b7d8 100644
--- a/Source/devtools/front_end/HeapSnapshot.js
+++ b/Source/devtools/front_end/HeapSnapshot.js
@@ -137,8 +137,6 @@ WebInspector.HeapSnapshotEdge.prototype = {
WebInspector.HeapSnapshotItemIterator = function() { }
WebInspector.HeapSnapshotItemIterator.prototype = {
- rewind: function() { },
-
/**
* @return {boolean}
*/
@@ -175,11 +173,6 @@ WebInspector.HeapSnapshotEdgeIterator = function(edge)
}
WebInspector.HeapSnapshotEdgeIterator.prototype = {
- rewind: function()
- {
- this.edge.edgeIndex = 0;
- },
-
/**
* @return {boolean}
*/
@@ -374,11 +367,6 @@ WebInspector.HeapSnapshotRetainerEdgeIterator = function(retainer)
}
WebInspector.HeapSnapshotRetainerEdgeIterator.prototype = {
- rewind: function()
- {
- this.retainer.setRetainerIndex(0);
- },
-
/**
* @return {boolean}
*/
@@ -650,11 +638,6 @@ WebInspector.HeapSnapshotNodeIterator = function(node)
}
WebInspector.HeapSnapshotNodeIterator.prototype = {
- rewind: function()
- {
- this.node.nodeIndex = this.node._firstNodeIndex;
- },
-
/**
* @return {boolean}
*/
@@ -709,8 +692,6 @@ WebInspector.HeapSnapshotIndexRangeIterator = function(iterator, indexes)
}
WebInspector.HeapSnapshotIndexRangeIterator.prototype = {
- rewind: function() { },
-
/**
* @return {boolean}
*/
@@ -766,8 +747,6 @@ WebInspector.HeapSnapshotFilteredIterator = function(iterator, filter)
}
WebInspector.HeapSnapshotFilteredIterator.prototype = {
- rewind: function() { },
-
/**
* @return {boolean}
*/

Powered by Google App Engine
This is Rietveld 408576698