Home
last modified time | relevance | path

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

/external/pdfium/core/fxcrt/
Dweak_ptr.h23 WeakPtr(const WeakPtr& that) : m_pHandle(that.m_pHandle) {} in WeakPtr()
26 : m_pHandle(new Handle(std::move(pObj))) {} in WeakPtr()
32 explicit operator bool() const { return m_pHandle && !!m_pHandle->Get(); }
33 bool HasOneRef() const { return m_pHandle && m_pHandle->HasOneRef(); } in HasOneRef()
34 T* operator->() { return m_pHandle->Get(); }
35 const T* operator->() const { return m_pHandle->Get(); }
37 m_pHandle = that.m_pHandle;
41 return m_pHandle == that.m_pHandle;
45 T* Get() const { return m_pHandle ? m_pHandle->Get() : nullptr; } in Get()
47 if (m_pHandle) { in DeleteObject()
[all …]