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 "V8TestInterfaceWillBeGarbageCollected.h" | 8 #include "V8TestInterfaceWillBeGarbageCollected.h" |
9 | 9 |
10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 #endif | 263 #endif |
264 } | 264 } |
265 | 265 |
266 void V8TestInterfaceWillBeGarbageCollected::derefObject(ScriptWrappableBase* int
ernalPointer) | 266 void V8TestInterfaceWillBeGarbageCollected::derefObject(ScriptWrappableBase* int
ernalPointer) |
267 { | 267 { |
268 #if !ENABLE(OILPAN) | 268 #if !ENABLE(OILPAN) |
269 fromInternalPointer(internalPointer)->deref(); | 269 fromInternalPointer(internalPointer)->deref(); |
270 #endif | 270 #endif |
271 } | 271 } |
272 | 272 |
273 PersistentNode* V8TestInterfaceWillBeGarbageCollected::createPersistentHandle(Sc
riptWrappableBase* internalPointer) | 273 WrapperPersistentNode* V8TestInterfaceWillBeGarbageCollected::createPersistentHa
ndle(ScriptWrappableBase* internalPointer) |
274 { | 274 { |
275 #if ENABLE(OILPAN) | 275 #if ENABLE(OILPAN) |
276 return new Persistent<TestInterfaceWillBeGarbageCollected>(fromInternalPoint
er(internalPointer)); | 276 return new WrapperPersistent<TestInterfaceWillBeGarbageCollected>(fromIntern
alPointer(internalPointer)); |
277 #else | 277 #else |
278 ASSERT_NOT_REACHED(); | 278 ASSERT_NOT_REACHED(); |
279 return 0; | 279 return 0; |
280 #endif | 280 #endif |
281 } | 281 } |
282 | 282 |
283 template<> | 283 template<> |
284 v8::Handle<v8::Value> toV8NoInline(TestInterfaceWillBeGarbageCollected* impl, v8
::Handle<v8::Object> creationContext, v8::Isolate* isolate) | 284 v8::Handle<v8::Value> toV8NoInline(TestInterfaceWillBeGarbageCollected* impl, v8
::Handle<v8::Object> creationContext, v8::Isolate* isolate) |
285 { | 285 { |
286 return toV8(impl, creationContext, isolate); | 286 return toV8(impl, creationContext, isolate); |
287 } | 287 } |
288 | 288 |
289 } // namespace blink | 289 } // namespace blink |
OLD | NEW |