Chromium Code Reviews| 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() |