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 949 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
960 ~V8RethrowTryCatchScope() | 960 ~V8RethrowTryCatchScope() |
961 { | 961 { |
962 // ReThrow() is a no-op if no exception has been caught, so always call. | 962 // ReThrow() is a no-op if no exception has been caught, so always call. |
963 m_block.ReThrow(); | 963 m_block.ReThrow(); |
964 } | 964 } |
965 | 965 |
966 private: | 966 private: |
967 v8::TryCatch& m_block; | 967 v8::TryCatch& m_block; |
968 }; | 968 }; |
969 | 969 |
970 typedef void (*InstallTemplateFunction)(v8::Handle<v8::FunctionTemplate>, v8::Is
olate*); | 970 typedef void (*InstallTemplateFunction)(v8::Local<v8::FunctionTemplate>, v8::Iso
late*); |
971 | 971 |
972 } // namespace blink | 972 } // namespace blink |
973 | 973 |
974 #endif // V8Binding_h | 974 #endif // V8Binding_h |
OLD | NEW |