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 2dbda1416c78df2807af4184a0714c794f6f66b0..266b360b108d305ce89987d631c09a3da1ec947a 100644 |
--- a/third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl |
+++ b/third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl |
@@ -643,10 +643,6 @@ V8DOMConfiguration::installMethod(isolate, world, {{instance_template}}, {{proto |
{######################################} |
{% macro install_conditionally_enabled_methods() %} |
{% if methods | conditionally_exposed(is_partial) %} |
-{# Define operations with limited exposure #} |
-v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTemplate); |
-ExecutionContext* executionContext = toExecutionContext(prototypeObject->CreationContext()); |
-DCHECK(executionContext); |
{% for method in methods | conditionally_exposed(is_partial) %} |
{% filter secure_context(method.overloads.secure_context_test_all |
if method.overloads else |