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

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

Issue 140693016: IDL compiler: interface and integer types for special operations (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Typo Created 6 years, 11 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 182077b3721e60903f2f95e9cb27778e77471d56..b74b4268990dd9a71a5e6a0bad709269370a74b5 100644
--- a/Source/bindings/templates/interface.cpp
+++ b/Source/bindings/templates/interface.cpp
@@ -151,7 +151,7 @@ static void indexedPropertySetter(uint32_t index, v8::Local<v8::Value> jsValue,
{
{{cpp_class}}* collection = {{v8_class}}::toNative(info.Holder());
{{setter.v8_value_to_local_cpp_value}};
- {% if setter.is_raises_exception %}
+ {% if setter.has_exception_state %}
ExceptionState exceptionState(info.Holder(), info.GetIsolate());
{% endif %}
{% if setter.has_strict_type_checking %}
@@ -319,7 +319,7 @@ static void namedPropertySetter(v8::Local<v8::String> name, v8::Local<v8::Value>
{# v8_value_to_local_cpp_value('DOMString', 'name', 'propertyName') #}
V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, propertyName, name);
{{setter.v8_value_to_local_cpp_value}};
- {% if setter.is_raises_exception %}
+ {% if setter.has_exception_state %}
ExceptionState exceptionState(info.Holder(), info.GetIsolate());
{% endif %}
{% set setter_name = setter.name or 'anonymousNamedSetter' %}

Powered by Google App Engine
This is Rietveld 408576698