| 50 | |
| 51 | protected: |
| 52 | inline void Wrap(v8::Local<v8::Object> object) { |
| 53 | assert(persistent().IsEmpty()); |
| 54 | assert(object->InternalFieldCount() > 0); |
| 55 | SetInternalFieldPointer(object, 0, this); |
| 56 | persistent().Reset(object); |
| 57 | MakeWeak(); |
| 58 | } |
| 59 | |
| 60 | #if defined(V8_MAJOR_VERSION) && (V8_MAJOR_VERSION > 4 || \ |
| 61 | (V8_MAJOR_VERSION == 4 && defined(V8_MINOR_VERSION) && V8_MINOR_VERSION >= 3)) |
no test coverage detected