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 92cd561e4548869c495d39b427e2f3e9b24905c8..0b35fad7d2b5f5e4e7c0119e4d3cb2414079ae27 100644 |
--- a/webrtc/modules/utility/source/process_thread_impl_unittest.cc |
+++ b/webrtc/modules/utility/source/process_thread_impl_unittest.cc |
@@ -8,6 +8,8 @@ |
* be found in the AUTHORS file in the root of the source tree. |
*/ |
+#include <utility> |
+ |
#include "testing/gmock/include/gmock/gmock.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "webrtc/modules/include/module.h" |
@@ -295,7 +297,7 @@ TEST(ProcessThreadImpl, PostTask) { |
rtc::scoped_ptr<EventWrapper> task_ran(EventWrapper::Create()); |
rtc::scoped_ptr<RaiseEventTask> task(new RaiseEventTask(task_ran.get())); |
thread.Start(); |
- thread.PostTask(task.Pass()); |
+ thread.PostTask(std::move(task)); |
EXPECT_EQ(kEventSignaled, task_ran->Wait(100)); |
thread.Stop(); |
} |