Home
last modified time | relevance | path

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

/external/pdfium/core/fxcrt/
Dobserved_ptr.h27 void AddObserver(ObserverIface* pObserver) { in AddObserver() argument
28 ASSERT(!pdfium::ContainsKey(m_Observers, pObserver)); in AddObserver()
29 m_Observers.insert(pObserver); in AddObserver()
31 void RemoveObserver(ObserverIface* pObserver) { in RemoveObserver() argument
32 ASSERT(pdfium::ContainsKey(m_Observers, pObserver)); in RemoveObserver()
33 m_Observers.erase(pObserver); in RemoveObserver()
36 for (auto* pObserver : m_Observers) in NotifyObservers()
37 pObserver->OnObservableDestroyed(); in NotifyObservers()