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

Unified Diff: webrtc/base/task_queue_win.cc

Issue 2708723003: Introduce new constructor to PlatformThread. (Closed)
Patch Set: Disable RTC_DCHECK in channel_proxy + add TODO 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/task_queue_libevent.cc ('k') | webrtc/call/rampup_tests.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/task_queue_win.cc
diff --git a/webrtc/base/task_queue_win.cc b/webrtc/base/task_queue_win.cc
index 11aa81de039258d07d0027137a1fe620ae8df641..c8ef7211e895f8cffc47db8619ee1f35114349c2 100644
--- a/webrtc/base/task_queue_win.cc
+++ b/webrtc/base/task_queue_win.cc
@@ -228,7 +228,7 @@ void TaskQueue::PostTaskAndReply(std::unique_ptr<QueuedTask> task,
}
// static
-bool TaskQueue::ThreadMain(void* context) {
+void TaskQueue::ThreadMain(void* context) {
HANDLE timer_handles[MultimediaTimer::kMaxTimers];
// Active multimedia timers.
std::vector<MultimediaTimer> mm_timers;
@@ -283,8 +283,6 @@ bool TaskQueue::ThreadMain(void* context) {
RTC_DCHECK_EQ(WAIT_IO_COMPLETION, result);
}
}
-
- return false;
}
// static
« no previous file with comments | « webrtc/base/task_queue_libevent.cc ('k') | webrtc/call/rampup_tests.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698