| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * LogGroupEntry is a wrapper around log entries, which makes it easier to | 6 * LogGroupEntry is a wrapper around log entries, which makes it easier to |
| 7 * find the corresponding start/end of events. | 7 * find the corresponding start/end of events. |
| 8 * | 8 * |
| 9 * This is used internally by the log and timeline views to pretty print | 9 * This is used internally by the log and timeline views to pretty print |
| 10 * collections of log entries. | 10 * collections of log entries. |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 // Inherit the current parent. | 84 // Inherit the current parent. |
| 85 if (parentStack.length > 0) | 85 if (parentStack.length > 0) |
| 86 groupEntry.parentEntry = parentStack[parentStack.length - 1]; | 86 groupEntry.parentEntry = parentStack[parentStack.length - 1]; |
| 87 | 87 |
| 88 if (groupEntry.isBegin()) | 88 if (groupEntry.isBegin()) |
| 89 parentStack.push(groupEntry); | 89 parentStack.push(groupEntry); |
| 90 } | 90 } |
| 91 | 91 |
| 92 return groupedEntries; | 92 return groupedEntries; |
| 93 } | 93 } |
| OLD | NEW |