Commit 92c2d905 authored by eroman@chromium.org's avatar eroman@chromium.org

Fix the merging of threadnames with multiple digits on about:profiler.

... for real this time! Problem is the first (.*) is greedy, so it gobbles up all but the last digit.
Review URL: http://codereview.chromium.org/8672009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111398 0039d316-1c4b-4281-b951-d872f2087c98
parent 90660cd9
......@@ -878,7 +878,7 @@ var MainView = (function() {
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);
if (m)
value = m[1] + '*';
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment