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

Unified Diff: Source/bindings/templates/methods.cpp

Issue 1107523002: IDL: Drop [PerContextEnabled] extended attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « Source/bindings/templates/interface_base.cpp ('k') | Source/bindings/tests/idls/core/TestImplements.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/templates/methods.cpp
diff --git a/Source/bindings/templates/methods.cpp b/Source/bindings/templates/methods.cpp
index b220f032227d74b2f494154d4bd0b0ddc8a8d8b3..2a892ad05f48a9c6c48d754072234e2decd347b7 100644
--- a/Source/bindings/templates/methods.cpp
+++ b/Source/bindings/templates/methods.cpp
@@ -642,9 +642,6 @@ void {{v8_class_or_partial}}::installConditionallyEnabledMethods(v8::Local<v8::O
ASSERT(context);
{% for method in conditionally_enabled_methods %}
- {% filter per_context_enabled(method.overloads.per_context_enabled_function_all
- if method.overloads else
- method.per_context_enabled_function) %}
{% filter exposed(method.overloads.exposed_test_all
if method.overloads else
method.exposed_test) %}
@@ -654,7 +651,6 @@ void {{v8_class_or_partial}}::installConditionallyEnabledMethods(v8::Local<v8::O
prototypeObject->Set(v8AtomicString(isolate, "{{method.name}}"), v8::FunctionTemplate::New(isolate, {{cpp_class_or_partial}}V8Internal::{{method.name}}MethodCallback, v8Undefined(), defaultSignature, {{method.number_of_required_arguments}})->GetFunction(isolate->GetCurrentContext()).ToLocalChecked());
{% endfilter %}{# runtime_enabled() #}
{% endfilter %}{# exposed() #}
- {% endfilter %}{# per_context_enabled() #}
{% endfor %}
{% endif %}
}
« no previous file with comments | « Source/bindings/templates/interface_base.cpp ('k') | Source/bindings/tests/idls/core/TestImplements.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698