Index: base/threading/thread_id_name_manager.h |
diff --git a/base/threading/thread_id_name_manager.h b/base/threading/thread_id_name_manager.h |
index 0ea59df6572cfcdf03c68fe8dac06c0792a51c2f..927d25fe1e8eda060393eba71d1af29e531bf56c 100644 |
--- a/base/threading/thread_id_name_manager.h |
+++ b/base/threading/thread_id_name_manager.h |
@@ -27,7 +27,7 @@ class BASE_EXPORT ThreadIdNameManager { |
void RegisterThread(PlatformThreadHandle::Handle handle, PlatformThreadId id); |
// Set the name for the given id. |
- void SetName(PlatformThreadId id, const char* name); |
+ void SetName(PlatformThreadId id, const std::string& name); |
// Get the name for the given id. |
const char* GetName(PlatformThreadId id); |