| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2012 Ericsson AB. All rights reserved. | 3 * Copyright (C) 2012 Ericsson AB. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 1005 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1016 { | 1016 { |
| 1017 // ReThrow() is a no-op if no exception has been caught, so always call. | 1017 // ReThrow() is a no-op if no exception has been caught, so always call. |
| 1018 m_block.ReThrow(); | 1018 m_block.ReThrow(); |
| 1019 } | 1019 } |
| 1020 | 1020 |
| 1021 private: | 1021 private: |
| 1022 v8::TryCatch& m_block; | 1022 v8::TryCatch& m_block; |
| 1023 }; | 1023 }; |
| 1024 | 1024 |
| 1025 // Callback functions used by generated code. | 1025 // Callback functions used by generated code. |
| 1026 void v8ConstructorAttributeGetterAsProperty(v8::Local<v8::String> propertyName,
const v8::PropertyCallbackInfo<v8::Value>&); | 1026 void v8ConstructorAttributeGetterAsProperty(v8::Local<v8::Name> propertyName, co
nst v8::PropertyCallbackInfo<v8::Value>&); |
| 1027 void v8ConstructorAttributeGetterAsAccessor(const v8::FunctionCallbackInfo<v8::V
alue>&); | 1027 void v8ConstructorAttributeGetterAsAccessor(const v8::FunctionCallbackInfo<v8::V
alue>&); |
| 1028 | 1028 |
| 1029 typedef void (*InstallTemplateFunction)(v8::Local<v8::FunctionTemplate>, v8::Iso
late*); | 1029 typedef void (*InstallTemplateFunction)(v8::Local<v8::FunctionTemplate>, v8::Iso
late*); |
| 1030 | 1030 |
| 1031 } // namespace blink | 1031 } // namespace blink |
| 1032 | 1032 |
| 1033 #endif // V8Binding_h | 1033 #endif // V8Binding_h |
| OLD | NEW |