Index: third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl |
diff --git a/third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl b/third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl |
index 21f232013878cff7dd3c688566c36d64c9e81ade..240d261c307c71fe63e683fb7f52b3a0fb32e41f 100644 |
--- a/third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl |
+++ b/third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl |
@@ -497,11 +497,7 @@ void {{method.name}}MethodCallback{{world_suffix}}(const v8::FunctionCallbackInf |
ScriptState* scriptState = ScriptState::forReceiverObject(info); |
{% endif %} |
V8PerContextData* contextData = scriptState->perContextData(); |
- {% if method.activity_logging_world_check %} |
- if (scriptState->world().isIsolatedWorld() && contextData && contextData->activityLogger()) |
- {% else %} |
if (contextData && contextData->activityLogger()) { |
- {% endif %} |
ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionContext, "{{interface_name}}", "{{method.name}}"); |
Vector<v8::Local<v8::Value>> loggerArgs = toImplArguments<Vector<v8::Local<v8::Value>>>(info, 0, exceptionState); |
contextData->activityLogger()->logMethod("{{interface_name}}.{{method.name}}", info.Length(), loggerArgs.data()); |