Searched refs:wrapperStruct (Results 1 – 4 of 4) sorted by relevance
87 WrapperStruct* wrapperStruct = GetWrapperStruct(s); in UnwrapOwn() local91 if (wrapperStruct->type_ != kWrapperType) in UnwrapOwn()92 return UnwrapDerivedOwn(wrapperStruct->type_, s); in UnwrapOwn()95 DCHECK(wrapperStruct->wrapper_->owned_); in UnwrapOwn()96 DCHECK(wrapperStruct->object_); in UnwrapOwn()100 BaseName* object = wrapperStruct->object_; in UnwrapOwn()101 wrapperStruct->object_ = nullptr; in UnwrapOwn()103 delete wrapperStruct->wrapper_; in UnwrapOwn()121 WrapperStruct* wrapperStruct = GetWrapperStruct(s); in UnwrapRaw() local125 if (wrapperStruct->type_ != kWrapperType) in UnwrapRaw()[all …]
46 WrapperStruct* wrapperStruct = GetWrapperStruct(s); in Unwrap() local50 if (wrapperStruct->type_ != kWrapperType) in Unwrap()51 return UnwrapDerived(wrapperStruct->type_, s); in Unwrap()54 CefRefPtr<BaseName> objectPtr(wrapperStruct->object_); in Unwrap()57 wrapperStruct->wrapper_->Release(); in Unwrap()67 WrapperStruct* wrapperStruct = GetWrapperStruct(s); in Get() local69 DCHECK_EQ(kWrapperType, wrapperStruct->type_); in Get()70 return wrapperStruct->object_; in Get()149 WrapperStruct* wrapperStruct = in struct_add_ref() local152 DCHECK_EQ(kWrapperType, wrapperStruct->type_); in struct_add_ref()[all …]
77 WrapperStruct* wrapperStruct = GetWrapperStruct(this); in GetStruct() local79 DCHECK_EQ(kWrapperType, wrapperStruct->type_); in GetStruct()80 return wrapperStruct->struct_; in GetStruct()113 WrapperStruct* wrapperStruct = new WrapperStruct;114 wrapperStruct->type_ = kWrapperType;115 wrapperStruct->struct_ = s;117 return CefOwnPtr<BaseName>(&wrapperStruct->wrapper_);126 WrapperStruct* wrapperStruct = GetWrapperStruct(c.get());130 if (wrapperStruct->type_ != kWrapperType)131 return UnwrapDerivedOwn(wrapperStruct->type_, std::move(c));[all …]
47 WrapperStruct* wrapperStruct = GetWrapperStruct(this); in GetStruct() local49 DCHECK_EQ(kWrapperType, wrapperStruct->type_); in GetStruct()50 return wrapperStruct->struct_; in GetStruct()118 WrapperStruct* wrapperStruct = new WrapperStruct;119 wrapperStruct->type_ = kWrapperType;120 wrapperStruct->struct_ = s;123 CefRefPtr<BaseName> wrapperPtr(&wrapperStruct->wrapper_);126 wrapperStruct->wrapper_.UnderlyingRelease();137 WrapperStruct* wrapperStruct = GetWrapperStruct(c.get());141 if (wrapperStruct->type_ != kWrapperType)[all …]