| Index: content/public/test/test_utils.h
|
| diff --git a/content/public/test/test_utils.h b/content/public/test/test_utils.h
|
| index 6a3ab909d4cf6164d828a197e9a3c4b635fbe291..29f5965db9767ac191f87bf7e01ee5ba0176de60 100644
|
| --- a/content/public/test/test_utils.h
|
| +++ b/content/public/test/test_utils.h
|
| @@ -100,7 +100,7 @@ bool RegisterJniForTesting(JNIEnv* env);
|
| // GetDeferredQuitTaskForRunLoop directly.
|
| // If you found a case where base::RunLoop is inconvenient or can not be used at
|
| // all, please post details in a comment on https://crbug.com/668707.
|
| -class MessageLoopRunner : public base::RefCounted<MessageLoopRunner> {
|
| +class MessageLoopRunner : public base::RefCountedThreadSafe<MessageLoopRunner> {
|
| public:
|
| enum class QuitMode {
|
| // Message loop stops after finishing the current task.
|
| @@ -129,7 +129,7 @@ class MessageLoopRunner : public base::RefCounted<MessageLoopRunner> {
|
| bool loop_running() const { return loop_running_; }
|
|
|
| private:
|
| - friend class base::RefCounted<MessageLoopRunner>;
|
| + friend class base::RefCountedThreadSafe<MessageLoopRunner>;
|
| ~MessageLoopRunner();
|
|
|
| QuitMode quit_mode_;
|
|
|