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 139a1edb24f422b879bf23490e39c3afa7e68c98..6a109e81e00e6249bb4234154e915afac6223924 100644 |
--- a/base/memory/ref_counted_delete_on_message_loop.h |
+++ b/base/memory/ref_counted_delete_on_message_loop.h |
@@ -32,6 +32,7 @@ namespace base { |
// ~Foo(); |
// }; |
+// TODO(skyostil): Rename this to RefCountedDeleteOnTaskRunner. |
template <class T> |
class RefCountedDeleteOnMessageLoop : public subtle::RefCountedThreadSafeBase { |
public: |
@@ -42,7 +43,7 @@ class RefCountedDeleteOnMessageLoop : public subtle::RefCountedThreadSafeBase { |
RefCountedDeleteOnMessageLoop( |
const scoped_refptr<SingleThreadTaskRunner>& task_runner) |
: task_runner_(task_runner) { |
- DCHECK(task_runner_.get()); |
+ DCHECK(task_runner_); |
} |
void AddRef() const { |