diff options
author | mmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-16 13:42:27 +0000 |
---|---|---|
committer | mmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-16 13:42:27 +0000 |
commit | 8973647b45e22779122594c82a028a3d4350bf9a (patch) | |
tree | 6bdd51b81fdd585bb279495f7d73b3f41e25fb59 /chrome/browser/resources/net_internals | |
parent | c4857e0589febfab0adcd6fa8d88b2f6530b82c6 (diff) | |
download | chromium_src-8973647b45e22779122594c82a028a3d4350bf9a.zip chromium_src-8973647b45e22779122594c82a028a3d4350bf9a.tar.gz chromium_src-8973647b45e22779122594c82a028a3d4350bf9a.tar.bz2 |
Fix a bug in determining a LogGroupEntry's parent in net-internals. Only noticeable when end events missing from log.
BUG=54879
TEST=manual
Review URL: http://codereview.chromium.org/3450009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59644 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources/net_internals')
-rw-r--r-- | chrome/browser/resources/net_internals/loggrouper.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/resources/net_internals/loggrouper.js b/chrome/browser/resources/net_internals/loggrouper.js index 39ff96c..8d7fb32 100644 --- a/chrome/browser/resources/net_internals/loggrouper.js +++ b/chrome/browser/resources/net_internals/loggrouper.js @@ -74,7 +74,7 @@ LogGroupEntry.createArrayFrom = function(origEntries) { // Consider this as the terminator for all open BEGINs up until // parentIndex. - for (var j = 0; j < parentStack.length - parentIndex; ++j) { + while (parentIndex < parentStack.length) { var p = parentStack.pop(); p.end = groupEntry; } |