Home
last modified time | relevance | path

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

/external/pdfium/core/fxcrt/
Dobservable.h61 void AddObservedPtr(ObservedPtr* pObservedPtr) { in AddObservedPtr() argument
62 ASSERT(!pdfium::ContainsKey(m_ObservedPtrs, pObservedPtr)); in AddObservedPtr()
63 m_ObservedPtrs.insert(pObservedPtr); in AddObservedPtr()
65 void RemoveObservedPtr(ObservedPtr* pObservedPtr) { in RemoveObservedPtr() argument
66 ASSERT(pdfium::ContainsKey(m_ObservedPtrs, pObservedPtr)); in RemoveObservedPtr()
67 m_ObservedPtrs.erase(pObservedPtr); in RemoveObservedPtr()
70 for (auto* pObservedPtr : m_ObservedPtrs) in NotifyObservedPtrs()
71 pObservedPtr->OnDestroy(); in NotifyObservedPtrs()