Index: remoting/base/auto_thread.cc |
diff --git a/remoting/base/auto_thread.cc b/remoting/base/auto_thread.cc |
index 2e5006be3143a291091bde897736bb150686dde7..514b82ff1694ad39c53baffb85ade82e7e85bd42 100644 |
--- a/remoting/base/auto_thread.cc |
+++ b/remoting/base/auto_thread.cc |
@@ -183,7 +183,7 @@ |
base::MessageLoop message_loop(startup_data_->loop_type); |
// Complete the initialization of our AutoThread object. |
- base::PlatformThread::SetName(name_.c_str()); |
+ base::PlatformThread::SetName(name_); |
ANNOTATE_THREAD_NAME(name_.c_str()); // Tell the name to race detector. |
message_loop.set_thread_name(name_); |