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

Unified Diff: webrtc/modules/utility/source/process_thread_impl.cc

Issue 1336293002: Only allow static strings as ProcessThread names. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 3 months 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 | « webrtc/modules/utility/source/process_thread_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/utility/source/process_thread_impl.cc
diff --git a/webrtc/modules/utility/source/process_thread_impl.cc b/webrtc/modules/utility/source/process_thread_impl.cc
index eab0d9a117f267e6ef814d11744814f686bdc8a1..51b7494d8f9ce4116f192ba7f34cf0d7f34258f6 100644
--- a/webrtc/modules/utility/source/process_thread_impl.cc
+++ b/webrtc/modules/utility/source/process_thread_impl.cc
@@ -77,7 +77,7 @@ void ProcessThreadImpl::Start() {
}
thread_ = ThreadWrapper::CreateThread(&ProcessThreadImpl::Run, this,
- thread_name_.c_str());
+ thread_name_);
CHECK(thread_->Start());
}
« no previous file with comments | « webrtc/modules/utility/source/process_thread_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698