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