HomeSort by relevance Sort by last modified time
    Searched defs:UnsafePersistent (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/chrome/renderer/extensions/
unsafe_persistent.h 13 // 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 {
19 UnsafePersistent() : value_(0) { }
21 explicit UnsafePersistent(v8::Persistent<T>* handle) {
25 UnsafePersistent(v8::Isolate* isolate, const v8::Handle<T>& handle) {
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/
UnsafePersistent.h 39 // 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 {
45 UnsafePersistent() : m_value(0) { }
46 explicit UnsafePersistent(T* value) : m_value(value) { }
47 explicit UnsafePersistent(v8::Persistent<T>& handle)
52 UnsafePersistent(v8::Isolate* isolate, v8::Handle<T>& handle)
64 // UnsafePersistent is alive and valid (see class level comment).

Completed in 600 milliseconds