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

Unified Diff: webrtc/base/thread.cc

Issue 2706843002: Fix clang style warnings in webrtc/base/thread.h (Closed)
Patch Set: Reordering methods. Created 3 years, 10 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') | no next file » | 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 ed0c44674183e5c141a7638953446a89ec07b65a..181cdb6e2acf6d68243c3791ecc071845a133ee1 100644
--- a/webrtc/base/thread.cc
+++ b/webrtc/base/thread.cc
@@ -561,6 +561,10 @@ AutoThread::~AutoThread() {
}
#if defined(WEBRTC_WIN)
+ComThread::~ComThread() {
+ Stop();
+}
+
void ComThread::Run() {
HRESULT hr = CoInitializeEx(NULL, COINIT_MULTITHREADED);
RTC_DCHECK(SUCCEEDED(hr));
« no previous file with comments | « webrtc/base/thread.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698