OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! | 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! |
6 | 6 |
7 #include "config.h" | 7 #include "config.h" |
8 #include "V8TestInterfaceEventTarget.h" | 8 #include "V8TestInterfaceEventTarget.h" |
9 | 9 |
10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 #endif | 122 #endif |
123 } | 123 } |
124 | 124 |
125 void V8TestInterfaceEventTarget::derefObject(ScriptWrappableBase* internalPointe
r) | 125 void V8TestInterfaceEventTarget::derefObject(ScriptWrappableBase* internalPointe
r) |
126 { | 126 { |
127 #if !ENABLE(OILPAN) | 127 #if !ENABLE(OILPAN) |
128 internalPointer->toImpl<TestInterfaceEventTarget>()->deref(); | 128 internalPointer->toImpl<TestInterfaceEventTarget>()->deref(); |
129 #endif | 129 #endif |
130 } | 130 } |
131 | 131 |
132 WrapperPersistentNode* V8TestInterfaceEventTarget::createPersistentHandle(Script
WrappableBase* internalPointer) | 132 PersistentNode* V8TestInterfaceEventTarget::createPersistentHandle(ScriptWrappab
leBase* internalPointer) |
133 { | 133 { |
134 #if ENABLE(OILPAN) | 134 #if ENABLE(OILPAN) |
135 return new WrapperPersistent<TestInterfaceEventTarget>(internalPointer->toIm
pl<TestInterfaceEventTarget>()); | 135 return new Persistent<TestInterfaceEventTarget>(internalPointer->toImpl<Test
InterfaceEventTarget>()); |
136 #else | 136 #else |
137 ASSERT_NOT_REACHED(); | 137 ASSERT_NOT_REACHED(); |
138 return 0; | 138 return 0; |
139 #endif | 139 #endif |
140 } | 140 } |
141 | 141 |
142 template<> | 142 template<> |
143 v8::Handle<v8::Value> toV8NoInline(TestInterfaceEventTarget* impl, v8::Handle<v8
::Object> creationContext, v8::Isolate* isolate) | 143 v8::Handle<v8::Value> toV8NoInline(TestInterfaceEventTarget* impl, v8::Handle<v8
::Object> creationContext, v8::Isolate* isolate) |
144 { | 144 { |
145 return toV8(impl, creationContext, isolate); | 145 return toV8(impl, creationContext, isolate); |
146 } | 146 } |
147 | 147 |
148 } // namespace blink | 148 } // namespace blink |
OLD | NEW |