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

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

Issue 2043503002: Add [CEReactions] IDL attributes for Custom Elements V1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: yukishiino review Created 4 years, 6 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
diff --git a/third_party/WebKit/Source/bindings/templates/methods.cpp b/third_party/WebKit/Source/bindings/templates/methods.cpp
index 034343e174b10ade3609fecaec62d18fb43b24e5..b6019963e9167f6e96ab087523a961c4f571a7b6 100644
--- a/third_party/WebKit/Source/bindings/templates/methods.cpp
+++ b/third_party/WebKit/Source/bindings/templates/methods.cpp
@@ -21,6 +21,9 @@ static void {{method.name}}{{method.overload_index}}Method{{world_suffix}}(const
{% if not method.is_static %}
{{cpp_class}}* impl = {{v8_class}}::toImpl(info.Holder());
{% endif %}
+ {% if method.is_ce_reactions %}
+ CEReactionsScope ceReactionsScope;
+ {% endif %}
{% if method.is_custom_element_callbacks %}
V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
{% endif %}

Powered by Google App Engine
This is Rietveld 408576698