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

Unified Diff: third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl

Issue 2692343006: [Bindings] Declare signature and executionContext once (Closed)
Patch Set: Add a test Created 3 years, 10 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: 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

Powered by Google App Engine
This is Rietveld 408576698