Home
last modified time | relevance | path

Searched refs:DeletableWrapper (Results 1 - 2 of 2) sorted by relevance

/third_party/node/src/inspector/
H A Dmain_thread_interface.cc18 class DeletableWrapper : public Deletable { class
20 explicit DeletableWrapper(std::unique_ptr<T> object) in DeletableWrapper() function in node::inspector::__anon15350::DeletableWrapper
22 ~DeletableWrapper() override = default;
26 static_cast<DeletableWrapper<T>*>(thread->GetObject(id))->object_.get(); in get()
35 return std::unique_ptr<DeletableWrapper<T>>( in WrapInDeletable()
36 new DeletableWrapper<T>(std::move(object))); in WrapInDeletable()
78 fn_(DeletableWrapper<Target>::get(thread, id_));
/third_party/node/src/
H A Djs_native_api_v8_inspector.cc137 class DeletableWrapper : public Deletable { class
139 explicit DeletableWrapper(std::unique_ptr<T> object) in DeletableWrapper() function in v8impl::__anon15371::DeletableWrapper
141 ~DeletableWrapper() override = default;
145 static_cast<DeletableWrapper<T>*>(thread->GetObject(id))->object_.get(); in get()
154 return std::unique_ptr<DeletableWrapper<T>>( in WrapInDeletable()
155 new DeletableWrapper<T>(std::move(object))); in WrapInDeletable()
197 fn_(DeletableWrapper<Target>::get(thread, id_));

Completed in 4 milliseconds