Index: base/memory/ref_counted.cc |
diff --git a/base/memory/ref_counted.cc b/base/memory/ref_counted.cc |
index ec082badb501dd34fdc0a026c52de1aa1d82270f..e1558f4ef7f167a545b23151bcc6c4c37d32518d 100644 |
--- a/base/memory/ref_counted.cc |
+++ b/base/memory/ref_counted.cc |
@@ -28,6 +28,15 @@ RefCountedThreadSafeBase::~RefCountedThreadSafeBase() { |
#endif |
} |
+#if !defined(ARCH_CPU_X86_FAMILY) |
+bool RefCountedThreadSafeBase::Release() const { |
+ return ReleaseImpl(); |
+} |
+void RefCountedThreadSafeBase::AddRef() const { |
+ AddRefImpl(); |
+} |
+#endif |
+ |
#if DCHECK_IS_ON() |
bool RefCountedBase::CalledOnValidSequence() const { |
return sequence_checker_.CalledOnValidSequence() || |