Index: webrtc/modules/utility/source/process_thread_impl_unittest.cc |
diff --git a/webrtc/modules/utility/source/process_thread_impl_unittest.cc b/webrtc/modules/utility/source/process_thread_impl_unittest.cc |
index 9fa9edfa24ace097b9531b7fca545dcc638da4bd..16f3b501f87b9f2aeeeb2075b06b9f48a991ec64 100644 |
--- a/webrtc/modules/utility/source/process_thread_impl_unittest.cc |
+++ b/webrtc/modules/utility/source/process_thread_impl_unittest.cc |
@@ -297,7 +297,7 @@ TEST(ProcessThreadImpl, PostTask) { |
std::unique_ptr<EventWrapper> task_ran(EventWrapper::Create()); |
std::unique_ptr<RaiseEventTask> task(new RaiseEventTask(task_ran.get())); |
thread.Start(); |
- thread.PostTask(rtc::UniqueToScoped(std::move(task))); |
+ thread.PostTask(std::move(task)); |
EXPECT_EQ(kEventSignaled, task_ran->Wait(100)); |
thread.Stop(); |
} |