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

Unified Diff: third_party/WebKit/Source/bindings/templates/interface.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/interface.cpp
diff --git a/third_party/WebKit/Source/bindings/templates/interface.cpp b/third_party/WebKit/Source/bindings/templates/interface.cpp
index 4350d082736ca0b7f88a4af6256350b3268a07a9..c6962901e257cbfa1db22a044db7806bbe20b2e1 100644
--- a/third_party/WebKit/Source/bindings/templates/interface.cpp
+++ b/third_party/WebKit/Source/bindings/templates/interface.cpp
@@ -150,6 +150,9 @@ static void indexedPropertyDeleter(uint32_t index, const v8::PropertyCallbackInf
{% set deleter = indexed_property_deleter %}
static void indexedPropertyDeleterCallback(uint32_t index, const v8::PropertyCallbackInfo<v8::Boolean>& info)
{
+ {% if deleter.is_ce_reactions %}
+ CEReactionsScope ceReactionsScope;
+ {% endif %}
{% if deleter.is_custom %}
{{v8_class}}::indexedPropertyDeleterCustom(index, info);
{% else %}
@@ -379,6 +382,9 @@ static void namedPropertyDeleterCallback(v8::Local<v8::Name> name, const v8::Pro
{
if (!name->IsString())
return;
+ {% if deleter.is_ce_reactions %}
+ CEReactionsScope ceReactionsScope;
+ {% endif %}
{% if deleter.is_custom %}
{{v8_class}}::namedPropertyDeleterCustom(name, info);
{% else %}

Powered by Google App Engine
This is Rietveld 408576698