| Index: base/memory/weak_ptr.h
|
| diff --git a/base/memory/weak_ptr.h b/base/memory/weak_ptr.h
|
| index be045a61b81c7dc85d4b5ba53ac30c30544b3ce7..d7c452f1dbb0f796cd6e23f21542a606ee8fe10e 100644
|
| --- a/base/memory/weak_ptr.h
|
| +++ b/base/memory/weak_ptr.h
|
| @@ -251,6 +251,9 @@ class SupportsWeakPtr : public internal::SupportsWeakPtrBase {
|
| weak_reference_owner_.DetachFromThread();
|
| }
|
|
|
| + protected:
|
| + ~SupportsWeakPtr() {}
|
| +
|
| private:
|
| internal::WeakReferenceOwner weak_reference_owner_;
|
| DISALLOW_COPY_AND_ASSIGN(SupportsWeakPtr);
|
|
|