| Index: core/fxcrt/cfx_weak_ptr.h
|
| diff --git a/core/fxcrt/cfx_weak_ptr.h b/core/fxcrt/cfx_weak_ptr.h
|
| index 61f15e3ddaa6eb2f95194186ba7074bb52855a70..9ac1475884d0f0f9b7194f118d4845e38fd25dbd 100644
|
| --- a/core/fxcrt/cfx_weak_ptr.h
|
| +++ b/core/fxcrt/cfx_weak_ptr.h
|
| @@ -35,7 +35,7 @@ class CFX_WeakPtr {
|
| bool operator!=(const CFX_WeakPtr& that) const { return !(*this == that); }
|
|
|
| T* Get() const { return m_pHandle ? m_pHandle->Get() : nullptr; }
|
| - void Clear() {
|
| + void DeleteObject() {
|
| if (m_pHandle) {
|
| m_pHandle->Clear();
|
| m_pHandle.Reset();
|
|
|