| Index: Source/bindings/core/v8/V8BindingMacros.h
|
| diff --git a/Source/bindings/core/v8/V8BindingMacros.h b/Source/bindings/core/v8/V8BindingMacros.h
|
| index 320cff6709bc0214451db6363bb4e03dfc294f1f..42556c5cbec3e8e00c79676fbe4ec526d9665e67 100644
|
| --- a/Source/bindings/core/v8/V8BindingMacros.h
|
| +++ b/Source/bindings/core/v8/V8BindingMacros.h
|
| @@ -99,11 +99,22 @@ namespace blink {
|
| if (UNLIKELY(exceptionState.throwIfNeeded())) \
|
| return;
|
|
|
| +#define TONATIVE_VOID_EXCEPTIONSTATE_NOTHROW(type, var, value, exceptionState) \
|
| + type var; \
|
| + var = (value); \
|
| + if (UNLIKELY(exceptionState.hadException())) \
|
| + return;
|
| +
|
| #define TONATIVE_VOID_EXCEPTIONSTATE_ARGINTERNAL(value, exceptionState) \
|
| (value); \
|
| if (UNLIKELY(exceptionState.throwIfNeeded())) \
|
| return;
|
|
|
| +#define TONATIVE_VOID_EXCEPTIONSTATE_ARGINTERNAL_NOTHROW(value, exceptionState) \
|
| + (value); \
|
| + if (UNLIKELY(exceptionState.hadException())) \
|
| + return;
|
| +
|
| #define TONATIVE_DEFAULT_EXCEPTIONSTATE(type, var, value, exceptionState, retVal) \
|
| type var = (value); \
|
| if (UNLIKELY(exceptionState.throwIfNeeded())) \
|
|
|