| 163 | } |
| 164 | |
| 165 | std::pair<v8::Local<v8::Value>, uint16_t> IndirectV8Persistent::getWithWrapperID(v8::Isolate* isolate) const { |
| 166 | if (isEmpty()) { |
| 167 | return std::make_pair(v8::Local<v8::Value>(), kNoWrapperID); |
| 168 | } |
| 169 | |
| 170 | return IndirectV8PersistentTable::get().newLocalRef(isolate, _id); |
| 171 | } |
| 172 | |
| 173 | v8::Local<v8::Value> IndirectV8Persistent::get(v8::Isolate* isolate) const { |
| 174 | if (isEmpty()) { |
no test coverage detected