Index: third_party/WebKit/Source/bindings/templates/callback_interface.cpp |
diff --git a/third_party/WebKit/Source/bindings/templates/callback_interface.cpp b/third_party/WebKit/Source/bindings/templates/callback_interface.cpp |
index e3bb988172543fc179473e33db3db3c498cf4fe6..eea852f8457fa2ee1717d946c865e3e3f634e25d 100644 |
--- a/third_party/WebKit/Source/bindings/templates/callback_interface.cpp |
+++ b/third_party/WebKit/Source/bindings/templates/callback_interface.cpp |
@@ -38,19 +38,9 @@ DEFINE_TRACE({{v8_class}}) |
ScriptState::Scope scope(m_scriptState.get()); |
{% if method.call_with_this_handle %} |
v8::Local<v8::Value> thisHandle = thisValue.v8Value(); |
- if (thisHandle.IsEmpty()) { |
- if (!isScriptControllerTerminating()) |
- CRASH(); |
- {{return_default}}; |
- } |
{% endif %} |
{% for argument in method.arguments %} |
v8::Local<v8::Value> {{argument.handle}} = {{argument.cpp_value_to_v8_value}}; |
- if ({{argument.handle}}.IsEmpty()) { |
- if (!isScriptControllerTerminating()) |
- CRASH(); |
- {{return_default}}; |
- } |
{% endfor %} |
{% if method.arguments %} |
v8::Local<v8::Value> argv[] = { {{method.arguments | join(', ', 'handle')}} }; |