| 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 | 121 |
| 122 | 122 |
| 123 v8::Handle<v8::Object> V8TestException::createWrapper(PassRefPtr<TestException>
impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) | 123 v8::Handle<v8::Object> V8TestException::createWrapper(PassRefPtr<TestException>
impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) |
| 124 { | 124 { |
| 125 ASSERT(impl.get()); | 125 ASSERT(impl.get()); |
| 126 ASSERT(DOMDataStore::getWrapper(impl.get(), isolate).IsEmpty()); | 126 ASSERT(DOMDataStore::getWrapper(impl.get(), isolate).IsEmpty()); |
| 127 | 127 |
| 128 v8::Handle<v8::Object> wrapper = V8DOMWrapper::createWrapper(creationContext
, &info, impl.get(), isolate); | 128 v8::Handle<v8::Object> wrapper = V8DOMWrapper::createWrapper(creationContext
, &info, impl.get(), isolate); |
| 129 if (UNLIKELY(wrapper.IsEmpty())) | 129 if (UNLIKELY(wrapper.IsEmpty())) |
| 130 return wrapper; | 130 return wrapper; |
| 131 | |
| 132 installPerContextProperties(wrapper, impl.get(), isolate); | 131 installPerContextProperties(wrapper, impl.get(), isolate); |
| 133 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, Wrap
perConfiguration::Independent); | 132 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, Wrap
perConfiguration::Independent); |
| 134 return wrapper; | 133 return wrapper; |
| 135 } | 134 } |
| 136 void V8TestException::derefObject(void* object) | 135 void V8TestException::derefObject(void* object) |
| 137 { | 136 { |
| 138 static_cast<TestException*>(object)->deref(); | 137 static_cast<TestException*>(object)->deref(); |
| 139 } | 138 } |
| 140 | 139 |
| 141 } // namespace WebCore | 140 } // namespace WebCore |
| OLD | NEW |