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

Unified Diff: webrtc/base/thread.cc

Issue 2835893003: Delete unused class ComThread. (Closed)
Patch Set: Created 3 years, 8 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/base/thread.h ('k') | webrtc/base/thread_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/thread.cc
diff --git a/webrtc/base/thread.cc b/webrtc/base/thread.cc
index 66542bb3d90712cfc927d1d9f225e2055aacaddf..b5be475fb38891aeade314acf3be7eb0dddd3265 100644
--- a/webrtc/base/thread.cc
+++ b/webrtc/base/thread.cc
@@ -518,21 +518,4 @@ AutoThread::~AutoThread() {
}
}
-#if defined(WEBRTC_WIN)
-ComThread::~ComThread() {
- Stop();
-}
-
-void ComThread::Run() {
- HRESULT hr = CoInitializeEx(nullptr, COINIT_MULTITHREADED);
- RTC_DCHECK(SUCCEEDED(hr));
- if (SUCCEEDED(hr)) {
- Thread::Run();
- CoUninitialize();
- } else {
- LOG(LS_ERROR) << "CoInitialize failed, hr=" << hr;
- }
-}
-#endif
-
} // namespace rtc
« no previous file with comments | « webrtc/base/thread.h ('k') | webrtc/base/thread_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698