Chromium Code Reviews| Index: chrome/browser/resources/profiler.js |
| =================================================================== |
| --- chrome/browser/resources/profiler.js (revision 111289) |
| +++ chrome/browser/resources/profiler.js (working copy) |
| @@ -878,7 +878,7 @@ |
| var value = row[key]; |
| // If the property is a thread name, try to remap it. |
| if (key == KEY_BIRTH_THREAD || key == KEY_DEATH_THREAD) { |
| - var m = /^(.*)(\d+)$/.exec(value); |
| + var m = /^(.*)[^\d](\d+)$/.exec(value); |
|
jar (doing other things)
2011/11/23 16:45:48
I think you discard the last character of the non-
|
| if (m) |
| value = m[1] + '*'; |
| } |