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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 | 132 |
133 | 133 |
134 v8::Handle<v8::Object> V8TestMediaQueryListListener::createWrapper(PassRefPtr<Te
stMediaQueryListListener> impl, v8::Handle<v8::Object> creationContext, v8::Isol
ate* isolate) | 134 v8::Handle<v8::Object> V8TestMediaQueryListListener::createWrapper(PassRefPtr<Te
stMediaQueryListListener> impl, v8::Handle<v8::Object> creationContext, v8::Isol
ate* isolate) |
135 { | 135 { |
136 ASSERT(impl.get()); | 136 ASSERT(impl.get()); |
137 ASSERT(DOMDataStore::getWrapper(impl.get(), isolate).IsEmpty()); | 137 ASSERT(DOMDataStore::getWrapper(impl.get(), isolate).IsEmpty()); |
138 | 138 |
139 v8::Handle<v8::Object> wrapper = V8DOMWrapper::createWrapper(creationContext
, &info, impl.get(), isolate); | 139 v8::Handle<v8::Object> wrapper = V8DOMWrapper::createWrapper(creationContext
, &info, impl.get(), isolate); |
140 if (UNLIKELY(wrapper.IsEmpty())) | 140 if (UNLIKELY(wrapper.IsEmpty())) |
141 return wrapper; | 141 return wrapper; |
142 | |
143 installPerContextProperties(wrapper, impl.get(), isolate); | 142 installPerContextProperties(wrapper, impl.get(), isolate); |
144 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, Wrap
perConfiguration::Independent); | 143 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, Wrap
perConfiguration::Independent); |
145 return wrapper; | 144 return wrapper; |
146 } | 145 } |
147 void V8TestMediaQueryListListener::derefObject(void* object) | 146 void V8TestMediaQueryListListener::derefObject(void* object) |
148 { | 147 { |
149 static_cast<TestMediaQueryListListener*>(object)->deref(); | 148 static_cast<TestMediaQueryListListener*>(object)->deref(); |
150 } | 149 } |
151 | 150 |
152 } // namespace WebCore | 151 } // namespace WebCore |
OLD | NEW |