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

Unified Diff: Source/devtools/front_end/JSHeapSnapshot.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
« no previous file with comments | « Source/devtools/front_end/HeapSnapshot.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/JSHeapSnapshot.js
diff --git a/Source/devtools/front_end/JSHeapSnapshot.js b/Source/devtools/front_end/JSHeapSnapshot.js
index 60ef492264eef55174919775ae697606323b2754..8a44638827320d538cabdaab7e121b71233b2c17 100644
--- a/Source/devtools/front_end/JSHeapSnapshot.js
+++ b/Source/devtools/front_end/JSHeapSnapshot.js
@@ -141,7 +141,7 @@ WebInspector.JSHeapSnapshot.prototype = {
if (globalObjEdge.isShortcut())
propNames[globalObjEdge._nameOrIndex()] = true;
}
- for (innerIter.rewind(); innerIter.hasNext(); innerIter.next()) {
+ for (var innerIter = node.edges(); innerIter.hasNext(); innerIter.next()) {
loislo 2014/03/20 13:16:40 The change is fine but looks like the code doesn't
yurys 2014/03/20 13:19:04 Yeah, I agree, let's remove it in a separate CL.
var globalObjEdge = innerIter.edge;
if (!globalObjEdge.isShortcut()
&& globalObjEdge.node().isHidden()
« no previous file with comments | « Source/devtools/front_end/HeapSnapshot.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698