Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Unified Diff: base/memory/ref_counted.h

Issue 2349393002: Use platform sized counters for the refcounted classes in base. (Closed)
Patch Set: fix implicit cast in seqlock test Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/atomic_ref_count.h ('k') | content/common/one_writer_seqlock_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/memory/ref_counted.h
diff --git a/base/memory/ref_counted.h b/base/memory/ref_counted.h
index 05fc4c4d3ff76e3554fbbbeff37b5d2856a9f242..20fe49c926de273ded41d6276fd434b1521f2821 100644
--- a/base/memory/ref_counted.h
+++ b/base/memory/ref_counted.h
@@ -75,7 +75,7 @@ class BASE_EXPORT RefCountedBase {
}
private:
- mutable int ref_count_;
+ mutable size_t ref_count_;
Tom Sepez 2016/09/22 17:55:35 nit: should really be an intprt_t, in case we go b
#ifndef NDEBUG
mutable bool in_dtor_;
#endif
« no previous file with comments | « base/atomic_ref_count.h ('k') | content/common/one_writer_seqlock_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698