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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 | 211 |
212 | 212 |
213 v8::Handle<v8::Object> V8TestSerializedScriptValueInterface::createWrapper(PassR
efPtr<TestSerializedScriptValueInterface> impl, v8::Handle<v8::Object> creationC
ontext, v8::Isolate* isolate) | 213 v8::Handle<v8::Object> V8TestSerializedScriptValueInterface::createWrapper(PassR
efPtr<TestSerializedScriptValueInterface> impl, v8::Handle<v8::Object> creationC
ontext, v8::Isolate* isolate) |
214 { | 214 { |
215 ASSERT(impl.get()); | 215 ASSERT(impl.get()); |
216 ASSERT(DOMDataStore::getWrapper(impl.get(), isolate).IsEmpty()); | 216 ASSERT(DOMDataStore::getWrapper(impl.get(), isolate).IsEmpty()); |
217 | 217 |
218 v8::Handle<v8::Object> wrapper = V8DOMWrapper::createWrapper(creationContext
, &info, impl.get(), isolate); | 218 v8::Handle<v8::Object> wrapper = V8DOMWrapper::createWrapper(creationContext
, &info, impl.get(), isolate); |
219 if (UNLIKELY(wrapper.IsEmpty())) | 219 if (UNLIKELY(wrapper.IsEmpty())) |
220 return wrapper; | 220 return wrapper; |
221 | |
222 installPerContextProperties(wrapper, impl.get(), isolate); | 221 installPerContextProperties(wrapper, impl.get(), isolate); |
223 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, Wrap
perConfiguration::Independent); | 222 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, Wrap
perConfiguration::Independent); |
224 return wrapper; | 223 return wrapper; |
225 } | 224 } |
226 void V8TestSerializedScriptValueInterface::derefObject(void* object) | 225 void V8TestSerializedScriptValueInterface::derefObject(void* object) |
227 { | 226 { |
228 static_cast<TestSerializedScriptValueInterface*>(object)->deref(); | 227 static_cast<TestSerializedScriptValueInterface*>(object)->deref(); |
229 } | 228 } |
230 | 229 |
231 } // namespace WebCore | 230 } // namespace WebCore |
232 | 231 |
233 #endif // ENABLE(Condition1) || ENABLE(Condition2) | 232 #endif // ENABLE(Condition1) || ENABLE(Condition2) |
OLD | NEW |