Index: base/test/thread_test_helper.h |
diff --git a/base/test/thread_test_helper.h b/base/test/thread_test_helper.h |
index 9521de60bfa774affd31ce3f3f478e21860c120c..f6817b520ed3bc57844ca17015887d6f382aa273 100644 |
--- a/base/test/thread_test_helper.h |
+++ b/base/test/thread_test_helper.h |
@@ -18,7 +18,8 @@ namespace base { |
// until all pending tasks on a given thread have been executed. |
class ThreadTestHelper : public RefCountedThreadSafe<ThreadTestHelper> { |
public: |
- explicit ThreadTestHelper(MessageLoopProxy* target_thread); |
+ explicit ThreadTestHelper( |
+ const scoped_refptr<MessageLoopProxy>& target_thread); |
// True if RunTest() was successfully executed on the target thread. |
bool Run() WARN_UNUSED_RESULT; |