commit | 2b18084d40261a356b377dd6aa4a5bd8bdd2a285 | [log] [tgz] |
---|---|---|
author | stefan <stefan@webrtc.org> | Mon Sep 14 07:53:38 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Mon Sep 14 14:53:46 2015 +0000 |
tree | 2d29935ab7b1b840ea14ac61040cc1838f1eb2ed | |
parent | ea06a58f4018d85510acd96cf0304cb413a800b4 [diff] [blame] |
Only allow static strings as ProcessThread names. Review URL: https://codereview.webrtc.org/1336293002 Cr-Commit-Position: refs/heads/master@{#9932}
diff --git a/webrtc/modules/utility/source/process_thread_impl.cc b/webrtc/modules/utility/source/process_thread_impl.cc index eab0d9a..51b7494 100644 --- a/webrtc/modules/utility/source/process_thread_impl.cc +++ b/webrtc/modules/utility/source/process_thread_impl.cc
@@ -77,7 +77,7 @@ } thread_ = ThreadWrapper::CreateThread(&ProcessThreadImpl::Run, this, - thread_name_.c_str()); + thread_name_); CHECK(thread_->Start()); }