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 1e57223866b719fe18e08b15de17c50d308f7f15..22f1506c9c738de843fa7f29370961fa06c42974 100644 |
--- a/third_party/WebKit/Source/bindings/templates/callback_interface.cpp |
+++ b/third_party/WebKit/Source/bindings/templates/callback_interface.cpp |
@@ -8,7 +8,7 @@ |
namespace blink { |
{{v8_class}}::{{v8_class}}(v8::Local<v8::Function> callback, ScriptState* scriptState) |
- : ActiveDOMCallback(scriptState->executionContext()) |
+ : ActiveDOMCallback(scriptState->getExecutionContext()) |
, m_scriptState(scriptState) |
{ |
m_callback.set(scriptState->isolate(), callback); |
@@ -63,10 +63,10 @@ DEFINE_TRACE({{v8_class}}) |
{% if method.idl_type == 'boolean' %} |
v8::TryCatch exceptionCatcher(m_scriptState->isolate()); |
exceptionCatcher.SetVerbose(true); |
- ScriptController::callFunction(m_scriptState->executionContext(), m_callback.newLocal(m_scriptState->isolate()), {{this_handle_parameter}}{{method.arguments | length}}, argv, m_scriptState->isolate()); |
+ ScriptController::callFunction(m_scriptState->getExecutionContext(), m_callback.newLocal(m_scriptState->isolate()), {{this_handle_parameter}}{{method.arguments | length}}, argv, m_scriptState->isolate()); |
return !exceptionCatcher.HasCaught(); |
{% else %}{# void #} |
- ScriptController::callFunction(m_scriptState->executionContext(), m_callback.newLocal(m_scriptState->isolate()), {{this_handle_parameter}}{{method.arguments | length}}, argv, m_scriptState->isolate()); |
+ ScriptController::callFunction(m_scriptState->getExecutionContext(), m_callback.newLocal(m_scriptState->isolate()), {{this_handle_parameter}}{{method.arguments | length}}, argv, m_scriptState->isolate()); |
{% endif %} |
} |