Home
last modified time | relevance | path

Searched refs:m_pHandle (Results 1 – 1 of 1) sorted by relevance

/external/pdfium/core/fxcrt/
Dcfx_weak_ptr.h21 CFX_WeakPtr(const CFX_WeakPtr& that) : m_pHandle(that.m_pHandle) {} in CFX_WeakPtr()
24 : m_pHandle(new Handle(std::move(pObj))) {} in CFX_WeakPtr()
30 explicit operator bool() const { return m_pHandle && !!m_pHandle->Get(); }
31 bool HasOneRef() const { return m_pHandle && m_pHandle->HasOneRef(); } in HasOneRef()
32 T* operator->() { return m_pHandle->Get(); }
33 const T* operator->() const { return m_pHandle->Get(); }
35 m_pHandle = that.m_pHandle;
39 return m_pHandle == that.m_pHandle;
43 T* Get() const { return m_pHandle ? m_pHandle->Get() : nullptr; } in Get()
45 if (m_pHandle) { in DeleteObject()
[all …]