Index: Source/bindings/templates/interface.cpp |
diff --git a/Source/bindings/templates/interface.cpp b/Source/bindings/templates/interface.cpp |
index 47a859531c1cf548172efa5a7fa31303412a3f7f..1b363e17b01ca9fa9c38e0920725488a503827cb 100644 |
--- a/Source/bindings/templates/interface.cpp |
+++ b/Source/bindings/templates/interface.cpp |
@@ -345,7 +345,7 @@ static void namedPropertySetter(v8::Local<v8::String> name, v8::Local<v8::Value> |
{% endif %} |
{{cpp_class}}* impl = {{v8_class}}::toNative(info.Holder()); |
{# v8_value_to_local_cpp_value('DOMString', 'name', 'propertyName') #} |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, propertyName, name); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, propertyName, name); |
{{setter.v8_value_to_local_cpp_value}}; |
{% if setter.has_exception_state %} |
v8::String::Utf8Value namedProperty(name); |
@@ -626,7 +626,7 @@ static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info) |
return; |
} |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, type, info[0]); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, type, info[0]); |
{% for attribute in any_type_attributes %} |
v8::Local<v8::Value> {{attribute.name}}; |
{% endfor %} |