Index: Source/bindings/tests/results/V8TestObject.cpp |
diff --git a/Source/bindings/tests/results/V8TestObject.cpp b/Source/bindings/tests/results/V8TestObject.cpp |
index 97bafbfb65b4b7324b0b840b4103f2ef8e881237..7dae5031f71bb2027ad0b13204195ea0841b55a5 100644 |
--- a/Source/bindings/tests/results/V8TestObject.cpp |
+++ b/Source/bindings/tests/results/V8TestObject.cpp |
@@ -7408,13 +7408,14 @@ static void voidMethodDefaultFalseBooleanArgMethodCallback(const v8::FunctionCal |
static void voidMethodDefaultNullableByteStringArgMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
+ ExceptionState exceptionState(ExceptionState::ExecutionContext, "voidMethodDefaultNullableByteStringArg", "TestObject", info.Holder(), info.GetIsolate()); |
TestObject* impl = V8TestObject::toNative(info.Holder()); |
V8StringResource<TreatNullAsNullString> defaultStringArg; |
{ |
v8::TryCatch block; |
V8RethrowTryCatchScope rethrow(block); |
if (!info[0]->IsUndefined()) { |
- TONATIVE_VOID_INTERNAL(defaultStringArg, toByteString(info[0])); |
+ TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(defaultStringArg, toByteString(info[0], exceptionState), exceptionState); |
Jens Widell
2014/08/15 07:13:49
This seems a correct change; there's only one toBy
|
} else { |
defaultStringArg = nullptr; |
} |