Searched defs:UnsafePersistent (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/chrome/renderer/extensions/
H A Dunsafe_persistent.h13 // what you're doing. UnsafePersistent is only safe to use when we know that the
15 // UnsafePersistent is alive or 2) when there is a strong Persistent keeping the
16 // memory alive while the UnsafePersistent is alive.
17 template<typename T> class UnsafePersistent { class in namespace:extensions
19 UnsafePersistent() : value_(0) { } function in class:extensions::UnsafePersistent
21 explicit UnsafePersistent(v8::Persistent<T>* handle) { function in class:extensions::UnsafePersistent
25 UnsafePersistent(v8::Isolate* isolate, const v8::Handle<T>& handle) { function in class:extensions::UnsafePersistent
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
H A DUnsafePersistent.h39 // what you're doing. UnsafePersistent is only safe to use when we know that the
41 // the UnsafePersistent is alive or 2) when there is a strong Persistent keeping
42 // the memory alive while the UnsafePersistent is alive.
43 template<typename T> class UnsafePersistent { class in namespace:WebCore
45 UnsafePersistent() : m_value(0) { } function in class:WebCore::UnsafePersistent
46 explicit UnsafePersistent(T* value) : m_value(value) { } function in class:WebCore::UnsafePersistent
47 explicit UnsafePersistent(v8::Persistent<T>& handle) function in class:WebCore::UnsafePersistent
52 UnsafePersistent(v8::Isolate* isolate, v8::Handle<T>& handle) function in class:WebCore::UnsafePersistent
64 // UnsafePersistent is alive and valid (see class level comment).

Completed in 189 milliseconds