Chromium Code Reviews| Index: base/memory/ref_counted.h |
| diff --git a/base/memory/ref_counted.h b/base/memory/ref_counted.h |
| index aae36b17c2f19a5a8d845e5e7d0daf0fdcbf93e7..e2a181b780fa74f1e3b2baec9147d9375f48ec06 100644 |
| --- a/base/memory/ref_counted.h |
| +++ b/base/memory/ref_counted.h |
| @@ -29,6 +29,8 @@ class BASE_EXPORT RefCountedBase { |
| // Returns true if the object should self-delete. |
| bool Release() const; |
| + void ClearInDtor() const; |
| + |
| private: |
| mutable int ref_count_; |
| #ifndef NDEBUG |