Chromium Code Reviews| Index: base/memory/ref_counted_delete_on_message_loop.h |
| diff --git a/base/memory/ref_counted_delete_on_message_loop.h b/base/memory/ref_counted_delete_on_message_loop.h |
| index de194e847918549cfda873253d896edf92a80da1..41611274ceab6931bf8f9f0f9c389fd729ab5c55 100644 |
| --- a/base/memory/ref_counted_delete_on_message_loop.h |
| +++ b/base/memory/ref_counted_delete_on_message_loop.h |
| @@ -36,7 +36,7 @@ class RefCountedDeleteOnMessageLoop : public subtle::RefCountedThreadSafeBase { |
| // This constructor will accept a MessageL00pProxy object, but new code should |
|
gab
2016/09/28 17:19:03
MessageLoopProxy no longer exists (sadly this was
fdoray
2016/09/28 18:54:50
Done.
|
| // prefer a SingleThreadTaskRunner. A SingleThreadTaskRunner for the |
| // MessageLoop on the current thread can be acquired by calling |
|
gab
2016/09/28 17:19:03
s/for the MessageLoop on the current thread/for th
fdoray
2016/09/28 18:54:50
Done.
|
| - // MessageLoop::current()->task_runner(). |
| + // ThreadTaskRunnerHandle::Get(). |
| RefCountedDeleteOnMessageLoop( |
| scoped_refptr<SingleThreadTaskRunner> task_runner) |
| : task_runner_(std::move(task_runner)) { |