| 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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 { | 212 { |
| 213 return V8PerIsolateData::from(isolate)->hasInstance(&info, value, MainWorld) | 213 return V8PerIsolateData::from(isolate)->hasInstance(&info, value, MainWorld) |
| 214 || V8PerIsolateData::from(isolate)->hasInstance(&info, value, IsolatedWo
rld) | 214 || V8PerIsolateData::from(isolate)->hasInstance(&info, value, IsolatedWo
rld) |
| 215 || V8PerIsolateData::from(isolate)->hasInstance(&info, value, WorkerWorl
d); | 215 || V8PerIsolateData::from(isolate)->hasInstance(&info, value, WorkerWorl
d); |
| 216 } | 216 } |
| 217 | 217 |
| 218 | 218 |
| 219 v8::Handle<v8::Object> V8TestSerializedScriptValueInterface::createWrapper(PassR
efPtr<TestSerializedScriptValueInterface> impl, v8::Handle<v8::Object> creationC
ontext, v8::Isolate* isolate) | 219 v8::Handle<v8::Object> V8TestSerializedScriptValueInterface::createWrapper(PassR
efPtr<TestSerializedScriptValueInterface> impl, v8::Handle<v8::Object> creationC
ontext, v8::Isolate* isolate) |
| 220 { | 220 { |
| 221 ASSERT(impl.get()); | 221 ASSERT(impl.get()); |
| 222 ASSERT(DOMDataStore::getWrapper(impl.get(), isolate).IsEmpty()); | 222 ASSERT(DOMDataStore::getWrapper<V8TestSerializedScriptValueInterface>(impl.g
et(), isolate).IsEmpty()); |
| 223 | 223 |
| 224 v8::Handle<v8::Object> wrapper = V8DOMWrapper::createWrapper(creationContext
, &info, impl.get(), isolate); | 224 v8::Handle<v8::Object> wrapper = V8DOMWrapper::createWrapper(creationContext
, &info, toWrappedType(impl.get()), isolate); |
| 225 if (UNLIKELY(wrapper.IsEmpty())) | 225 if (UNLIKELY(wrapper.IsEmpty())) |
| 226 return wrapper; | 226 return wrapper; |
| 227 installPerContextProperties(wrapper, impl.get(), isolate); | 227 installPerContextProperties(wrapper, impl.get(), isolate); |
| 228 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, Wrap
perConfiguration::Independent); | 228 V8DOMWrapper::associateObjectWithWrapper<V8TestSerializedScriptValueInterfac
e>(impl, &info, wrapper, isolate, WrapperConfiguration::Independent); |
| 229 return wrapper; | 229 return wrapper; |
| 230 } | 230 } |
| 231 void V8TestSerializedScriptValueInterface::derefObject(void* object) | 231 void V8TestSerializedScriptValueInterface::derefObject(void* object) |
| 232 { | 232 { |
| 233 static_cast<TestSerializedScriptValueInterface*>(object)->deref(); | 233 fromWrappedType(object)->deref(); |
| 234 } | 234 } |
| 235 | 235 |
| 236 } // namespace WebCore | 236 } // namespace WebCore |
| 237 | 237 |
| 238 #endif // ENABLE(Condition1) || ENABLE(Condition2) | 238 #endif // ENABLE(Condition1) || ENABLE(Condition2) |
| OLD | NEW |