Index: Source/bindings/v8/custom/V8XSLTProcessorCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8XSLTProcessorCustom.cpp b/Source/bindings/v8/custom/V8XSLTProcessorCustom.cpp |
index 7abd28e96536cf41211936c237ce395281c0e598..c333d9e077dcd91710c264e3664f4cc063836af7 100644 |
--- a/Source/bindings/v8/custom/V8XSLTProcessorCustom.cpp |
+++ b/Source/bindings/v8/custom/V8XSLTProcessorCustom.cpp |
@@ -48,9 +48,9 @@ void V8XSLTProcessor::setParameterMethodCustom(const v8::FunctionCallbackInfo<v8 |
if (isUndefinedOrNull(info[1]) || isUndefinedOrNull(info[2])) |
return; |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, namespaceURI, info[0]); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, localName, info[1]); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, value, info[2]); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, namespaceURI, info[0]); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, localName, info[1]); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, value, info[2]); |
XSLTProcessor* impl = V8XSLTProcessor::toNative(info.Holder()); |
impl->setParameter(namespaceURI, localName, value); |
@@ -61,8 +61,8 @@ void V8XSLTProcessor::getParameterMethodCustom(const v8::FunctionCallbackInfo<v8 |
if (isUndefinedOrNull(info[1])) |
return; |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, namespaceURI, info[0]); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, localName, info[1]); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, namespaceURI, info[0]); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, localName, info[1]); |
XSLTProcessor* impl = V8XSLTProcessor::toNative(info.Holder()); |
String result = impl->getParameter(namespaceURI, localName); |
@@ -77,8 +77,8 @@ void V8XSLTProcessor::removeParameterMethodCustom(const v8::FunctionCallbackInfo |
if (isUndefinedOrNull(info[1])) |
return; |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, namespaceURI, info[0]); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, localName, info[1]); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, namespaceURI, info[0]); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, localName, info[1]); |
XSLTProcessor* impl = V8XSLTProcessor::toNative(info.Holder()); |
impl->removeParameter(namespaceURI, localName); |