Index: chrome/browser/task_profiler/task_profiler_data_serializer.cc |
diff --git a/chrome/browser/task_profiler/task_profiler_data_serializer.cc b/chrome/browser/task_profiler/task_profiler_data_serializer.cc |
index 5d5e851428a788bf427c2fb13f0596bdb9bfa870..6f4b52ee948b7368ac23902116ec48cea5d14bb9 100644 |
--- a/chrome/browser/task_profiler/task_profiler_data_serializer.cc |
+++ b/chrome/browser/task_profiler/task_profiler_data_serializer.cc |
@@ -51,7 +51,8 @@ void BirthOnThreadSnapshotToValue(const BirthOnThreadSnapshot& birth, |
LocationSnapshotToValue(birth.location, location_value.get()); |
dictionary->Set(prefix + "_location", location_value.release()); |
- dictionary->Set(prefix + "_thread", new base::StringValue(birth.thread_name)); |
+ dictionary->Set(prefix + "_thread", |
+ new base::StringValue(birth.sanitized_thread_name)); |
} |
// Re-serializes the |death_data| into |dictionary|. |
@@ -83,7 +84,7 @@ void TaskSnapshotToValue(const TaskSnapshot& snapshot, |
DeathDataSnapshotToValue(snapshot.death_data, death_data.get()); |
dictionary->Set("death_data", death_data.release()); |
- dictionary->SetString("death_thread", snapshot.death_thread_name); |
+ dictionary->SetString("death_thread", snapshot.death_sanitized_thread_name); |
} |
int AsChromeProcessType( |