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

Unified Diff: chrome/browser/resources/profiler.js

Issue 8672009: Fix the merging of threadnames with multiple digits on about:profiler. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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] + '*';
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698