OLD | NEW |
1 /* | 1 /* |
2 This file is part of the Blink open source project. | 2 This file is part of the Blink open source project. |
3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! | 3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! |
4 | 4 |
5 This library is free software; you can redistribute it and/or | 5 This library is free software; you can redistribute it and/or |
6 modify it under the terms of the GNU Library General Public | 6 modify it under the terms of the GNU Library General Public |
7 License as published by the Free Software Foundation; either | 7 License as published by the Free Software Foundation; either |
8 version 2 of the License, or (at your option) any later version. | 8 version 2 of the License, or (at your option) any later version. |
9 | 9 |
10 This library is distributed in the hope that it will be useful, | 10 This library is distributed in the hope that it will be useful, |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 { | 242 { |
243 return V8PerIsolateData::from(isolate)->hasInstance(&info, value, MainWorld) | 243 return V8PerIsolateData::from(isolate)->hasInstance(&info, value, MainWorld) |
244 || V8PerIsolateData::from(isolate)->hasInstance(&info, value, IsolatedWo
rld) | 244 || V8PerIsolateData::from(isolate)->hasInstance(&info, value, IsolatedWo
rld) |
245 || V8PerIsolateData::from(isolate)->hasInstance(&info, value, WorkerWorl
d); | 245 || V8PerIsolateData::from(isolate)->hasInstance(&info, value, WorkerWorl
d); |
246 } | 246 } |
247 | 247 |
248 | 248 |
249 v8::Handle<v8::Object> V8TestActiveDOMObject::createWrapper(PassRefPtr<TestActiv
eDOMObject> impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) | 249 v8::Handle<v8::Object> V8TestActiveDOMObject::createWrapper(PassRefPtr<TestActiv
eDOMObject> impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) |
250 { | 250 { |
251 ASSERT(impl.get()); | 251 ASSERT(impl.get()); |
252 ASSERT(DOMDataStore::getWrapper(impl.get(), isolate).IsEmpty()); | 252 ASSERT(DOMDataStore::getWrapper<V8TestActiveDOMObject>(impl.get(), isolate).
IsEmpty()); |
253 | 253 |
254 v8::Handle<v8::Object> wrapper = V8DOMWrapper::createWrapper(creationContext
, &info, impl.get(), isolate); | 254 v8::Handle<v8::Object> wrapper = V8DOMWrapper::createWrapper(creationContext
, &info, toInternalPointer(impl.get()), isolate); |
255 if (UNLIKELY(wrapper.IsEmpty())) | 255 if (UNLIKELY(wrapper.IsEmpty())) |
256 return wrapper; | 256 return wrapper; |
257 installPerContextProperties(wrapper, impl.get(), isolate); | 257 installPerContextProperties(wrapper, impl.get(), isolate); |
258 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, Wrap
perConfiguration::Independent); | 258 V8DOMWrapper::associateObjectWithWrapper<V8TestActiveDOMObject>(impl, &info,
wrapper, isolate, WrapperConfiguration::Independent); |
259 return wrapper; | 259 return wrapper; |
260 } | 260 } |
261 void V8TestActiveDOMObject::derefObject(void* object) | 261 void V8TestActiveDOMObject::derefObject(void* object) |
262 { | 262 { |
263 static_cast<TestActiveDOMObject*>(object)->deref(); | 263 fromInternalPointer(object)->deref(); |
264 } | 264 } |
265 | 265 |
266 } // namespace WebCore | 266 } // namespace WebCore |
OLD | NEW |