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

Unified Diff: base/test/thread_test_helper.cc

Issue 511153002: Manual fixups for scoped_refptr operator T* removal in base/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 | « base/test/thread_test_helper.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/thread_test_helper.cc
diff --git a/base/test/thread_test_helper.cc b/base/test/thread_test_helper.cc
index a91517df3d0ab1996f6727aff56c33b9ac0cdde2..2bd3ba54ac2e98a51cb1a5fce4d79eb37c5fff2b 100644
--- a/base/test/thread_test_helper.cc
+++ b/base/test/thread_test_helper.cc
@@ -10,7 +10,8 @@
namespace base {
-ThreadTestHelper::ThreadTestHelper(MessageLoopProxy* target_thread)
+ThreadTestHelper::ThreadTestHelper(
+ const scoped_refptr<MessageLoopProxy>& target_thread)
: test_result_(false),
target_thread_(target_thread),
done_event_(false, false) {
« no previous file with comments | « base/test/thread_test_helper.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698