| 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 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 static void funcWithClampMethodCallback(const v8::FunctionCallbackInfo<v8::Value
>& args) | 396 static void funcWithClampMethodCallback(const v8::FunctionCallbackInfo<v8::Value
>& args) |
| 397 { | 397 { |
| 398 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 398 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 399 TestTypedefsV8Internal::funcWithClampMethod(args); | 399 TestTypedefsV8Internal::funcWithClampMethod(args); |
| 400 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 400 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 401 } | 401 } |
| 402 | 402 |
| 403 static void immutablePointFunctionMethod(const v8::FunctionCallbackInfo<v8::Valu
e>& args) | 403 static void immutablePointFunctionMethod(const v8::FunctionCallbackInfo<v8::Valu
e>& args) |
| 404 { | 404 { |
| 405 TestTypedefs* imp = V8TestTypedefs::toNative(args.Holder()); | 405 TestTypedefs* imp = V8TestTypedefs::toNative(args.Holder()); |
| 406 v8SetReturnValue(args, toV8(WTF::getPtr(SVGPropertyTearOff<FloatPoint>::crea
te(imp->immutablePointFunction())), args.Holder(), args.GetIsolate())); | 406 v8SetReturnValue(args, toV8(WTF::getPtr(SVGPropertyTearOff<SVGPoint>::create
(imp->immutablePointFunction())), args.Holder(), args.GetIsolate())); |
| 407 return; | 407 return; |
| 408 } | 408 } |
| 409 | 409 |
| 410 static void immutablePointFunctionMethodCallback(const v8::FunctionCallbackInfo<
v8::Value>& args) | 410 static void immutablePointFunctionMethodCallback(const v8::FunctionCallbackInfo<
v8::Value>& args) |
| 411 { | 411 { |
| 412 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 412 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 413 TestTypedefsV8Internal::immutablePointFunctionMethod(args); | 413 TestTypedefsV8Internal::immutablePointFunctionMethod(args); |
| 414 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 414 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 415 } | 415 } |
| 416 | 416 |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 605 installPerContextProperties(wrapper, impl.get(), isolate); | 605 installPerContextProperties(wrapper, impl.get(), isolate); |
| 606 V8DOMWrapper::associateObjectWithWrapper<V8TestTypedefs>(impl, &info, wrappe
r, isolate, WrapperConfiguration::Independent); | 606 V8DOMWrapper::associateObjectWithWrapper<V8TestTypedefs>(impl, &info, wrappe
r, isolate, WrapperConfiguration::Independent); |
| 607 return wrapper; | 607 return wrapper; |
| 608 } | 608 } |
| 609 void V8TestTypedefs::derefObject(void* object) | 609 void V8TestTypedefs::derefObject(void* object) |
| 610 { | 610 { |
| 611 fromInternalPointer(object)->deref(); | 611 fromInternalPointer(object)->deref(); |
| 612 } | 612 } |
| 613 | 613 |
| 614 } // namespace WebCore | 614 } // namespace WebCore |
| OLD | NEW |