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

Unified Diff: webrtc/system_wrappers/source/thread_posix.cc

Issue 1467243003: Remove ThreadWrapper::GetThreadId. The method just calls rtc::CurrentThreadId(), which also has a m… (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 1 month 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/system_wrappers/include/thread_wrapper.h ('k') | webrtc/system_wrappers/source/thread_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/system_wrappers/source/thread_posix.cc
diff --git a/webrtc/system_wrappers/source/thread_posix.cc b/webrtc/system_wrappers/source/thread_posix.cc
index 32ab13c780977cf9172c9b951c289e24d2f80fc5..952a3cd0f98b40f83c5676189319551a23d06282 100644
--- a/webrtc/system_wrappers/source/thread_posix.cc
+++ b/webrtc/system_wrappers/source/thread_posix.cc
@@ -21,7 +21,6 @@
#endif
#include "webrtc/base/checks.h"
-#include "webrtc/base/platform_thread.h"
#include "webrtc/system_wrappers/include/critical_section_wrapper.h"
#include "webrtc/system_wrappers/include/event_wrapper.h"
#include "webrtc/system_wrappers/include/sleep.h"
@@ -77,10 +76,6 @@ ThreadPosix::ThreadPosix(ThreadRunFunction func, void* obj,
RTC_DCHECK(name_.length() < 64);
}
-uint32_t ThreadWrapper::GetThreadId() {
- return rtc::CurrentThreadId();
-}
-
ThreadPosix::~ThreadPosix() {
RTC_DCHECK(thread_checker_.CalledOnValidThread());
}
« no previous file with comments | « webrtc/system_wrappers/include/thread_wrapper.h ('k') | webrtc/system_wrappers/source/thread_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698