Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Unified Diff: Source/bindings/templates/interface.cpp

Issue 234403004: Rename V8TRYCATCH_* macros in v8/V8BindingMacros.h (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 %}

Powered by Google App Engine
This is Rietveld 408576698