MCPcopy Create free account
hub / github.com/cztomczak/cefpython / GetWeakPtr

Method GetWeakPtr

src/include/base/cef_weak_ptr.h:313–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311 ~WeakPtrFactory() { ptr_ = NULL; }
312
313 WeakPtr<T> GetWeakPtr() {
314 DCHECK(ptr_);
315 return WeakPtr<T>(weak_reference_owner_.GetRef(), ptr_);
316 }
317
318 // Call this method to invalidate all existing weak pointers.
319 void InvalidateWeakPtrs() {

Callers 3

InitializeForwarderMethod · 0.80
InitializeForwarderMethod · 0.80
InitializeForwarderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected