| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 namespace WebCore { | 56 namespace WebCore { |
| 57 WrapperTypeInfo V8TestException::info = { V8TestException::GetTemplate, V8TestEx
ception::derefObject, 0, 0, 0, V8TestException::installPerContextPrototypeProper
ties, 0, WrapperTypeErrorPrototype }; | 57 WrapperTypeInfo V8TestException::info = { V8TestException::GetTemplate, V8TestEx
ception::derefObject, 0, 0, 0, V8TestException::installPerContextPrototypeProper
ties, 0, WrapperTypeErrorPrototype }; |
| 58 | 58 |
| 59 namespace TestExceptionV8Internal { | 59 namespace TestExceptionV8Internal { |
| 60 | 60 |
| 61 template <typename T> void V8_USE(T) { } | 61 template <typename T> void V8_USE(T) { } |
| 62 | 62 |
| 63 static void nameAttrGetter(v8::Local<v8::String> name, const v8::PropertyCallbac
kInfo<v8::Value>& info) | 63 static void nameAttrGetter(v8::Local<v8::String> name, const v8::PropertyCallbac
kInfo<v8::Value>& info) |
| 64 { | 64 { |
| 65 TestException* imp = V8TestException::toNative(info.Holder()); | 65 TestException* imp = V8TestException::toNative(info.Holder()); |
| 66 v8SetReturnValueString(info, imp->name(), info.GetIsolate(), NullStringAsEmp
ty); | 66 v8SetReturnValueString(info, imp->name(), info.GetIsolate()); |
| 67 return; | 67 return; |
| 68 } | 68 } |
| 69 | 69 |
| 70 static void nameAttrGetterCallback(v8::Local<v8::String> name, const v8::Propert
yCallbackInfo<v8::Value>& info) | 70 static void nameAttrGetterCallback(v8::Local<v8::String> name, const v8::Propert
yCallbackInfo<v8::Value>& info) |
| 71 { | 71 { |
| 72 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 72 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 73 TestExceptionV8Internal::nameAttrGetter(name, info); | 73 TestExceptionV8Internal::nameAttrGetter(name, info); |
| 74 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 74 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 75 } | 75 } |
| 76 | 76 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 installPerContextProperties(wrapper, impl.get(), isolate); | 142 installPerContextProperties(wrapper, impl.get(), isolate); |
| 143 V8DOMWrapper::associateObjectWithWrapper<V8TestException>(impl, &info, wrapp
er, isolate, WrapperConfiguration::Independent); | 143 V8DOMWrapper::associateObjectWithWrapper<V8TestException>(impl, &info, wrapp
er, isolate, WrapperConfiguration::Independent); |
| 144 return wrapper; | 144 return wrapper; |
| 145 } | 145 } |
| 146 void V8TestException::derefObject(void* object) | 146 void V8TestException::derefObject(void* object) |
| 147 { | 147 { |
| 148 fromInternalPointer(object)->deref(); | 148 fromInternalPointer(object)->deref(); |
| 149 } | 149 } |
| 150 | 150 |
| 151 } // namespace WebCore | 151 } // namespace WebCore |
| OLD | NEW |