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

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

Issue 611453002: IDL: Clean up argument conversion error handling (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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/methods.cpp
diff --git a/Source/bindings/templates/methods.cpp b/Source/bindings/templates/methods.cpp
index 1d9471034afb5256293289003c60baad9f22e673..94b70730869b707916dfc76315938738c13565d4 100644
--- a/Source/bindings/templates/methods.cpp
+++ b/Source/bindings/templates/methods.cpp
@@ -63,10 +63,6 @@ static void {{method.name}}{{method.overload_index}}Method{{world_suffix}}(const
{{generate_argument_var_declaration(argument)}};
{% endfor %}
{
- {% if method.arguments_need_try_catch %}
- v8::TryCatch block;
- V8RethrowTryCatchScope rethrow(block);
- {% endif %}
{% for argument in method.arguments %}
{% if argument.default_value %}
if (!info[{{argument.index}}]->IsUndefined()) {

Powered by Google App Engine
This is Rietveld 408576698