| 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 | 196 |
| 197 | 197 |
| 198 v8::Handle<v8::Object> V8TestOverloadedConstructors::createWrapper(PassRefPtr<Te
stOverloadedConstructors> impl, v8::Handle<v8::Object> creationContext, v8::Isol
ate* isolate) | 198 v8::Handle<v8::Object> V8TestOverloadedConstructors::createWrapper(PassRefPtr<Te
stOverloadedConstructors> impl, v8::Handle<v8::Object> creationContext, v8::Isol
ate* isolate) |
| 199 { | 199 { |
| 200 ASSERT(impl.get()); | 200 ASSERT(impl.get()); |
| 201 ASSERT(DOMDataStore::getWrapper(impl.get(), isolate).IsEmpty()); | 201 ASSERT(DOMDataStore::getWrapper(impl.get(), isolate).IsEmpty()); |
| 202 | 202 |
| 203 v8::Handle<v8::Object> wrapper = V8DOMWrapper::createWrapper(creationContext
, &info, impl.get(), isolate); | 203 v8::Handle<v8::Object> wrapper = V8DOMWrapper::createWrapper(creationContext
, &info, impl.get(), isolate); |
| 204 if (UNLIKELY(wrapper.IsEmpty())) | 204 if (UNLIKELY(wrapper.IsEmpty())) |
| 205 return wrapper; | 205 return wrapper; |
| 206 | |
| 207 installPerContextProperties(wrapper, impl.get(), isolate); | 206 installPerContextProperties(wrapper, impl.get(), isolate); |
| 208 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, Wrap
perConfiguration::Independent); | 207 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, Wrap
perConfiguration::Independent); |
| 209 return wrapper; | 208 return wrapper; |
| 210 } | 209 } |
| 211 void V8TestOverloadedConstructors::derefObject(void* object) | 210 void V8TestOverloadedConstructors::derefObject(void* object) |
| 212 { | 211 { |
| 213 static_cast<TestOverloadedConstructors*>(object)->deref(); | 212 static_cast<TestOverloadedConstructors*>(object)->deref(); |
| 214 } | 213 } |
| 215 | 214 |
| 216 } // namespace WebCore | 215 } // namespace WebCore |
| OLD | NEW |