diff options
Diffstat (limited to 'net/base/test_completion_callback_unittest.cc')
-rw-r--r-- | net/base/test_completion_callback_unittest.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/base/test_completion_callback_unittest.cc b/net/base/test_completion_callback_unittest.cc index 1d333f7..c19aae0 100644 --- a/net/base/test_completion_callback_unittest.cc +++ b/net/base/test_completion_callback_unittest.cc @@ -47,6 +47,10 @@ class ExampleEmployer::ExampleWorker void DoWork(); void DoCallback(); private: + friend class base::RefCountedThreadSafe<ExampleWorker>; + + ~ExampleWorker() {} + // Only used on the origin thread (where DoSomething was called). ExampleEmployer* employer_; CompletionCallback* callback_; |