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