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

Unified Diff: webrtc/base/rate_limiter_unittest.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/platform_thread_unittest.cc ('k') | webrtc/base/sequenced_task_checker_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/rate_limiter_unittest.cc
diff --git a/webrtc/base/rate_limiter_unittest.cc b/webrtc/base/rate_limiter_unittest.cc
index 3c1b541f5eb4741d2cd3507aff8d74fb9caf6169..6d925670bfa4478290a9c4dde00cc6ddd292342b 100644
--- a/webrtc/base/rate_limiter_unittest.cc
+++ b/webrtc/base/rate_limiter_unittest.cc
@@ -130,9 +130,8 @@ class ThreadTask {
rtc::Event end_signal_;
};
-bool RunTask(void* thread_task) {
+void RunTask(void* thread_task) {
reinterpret_cast<ThreadTask*>(thread_task)->Run();
- return false;
}
TEST_F(RateLimitTest, MultiThreadedUsage) {
« no previous file with comments | « webrtc/base/platform_thread_unittest.cc ('k') | webrtc/base/sequenced_task_checker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698