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

Unified Diff: sky/engine/bindings/scripts/templates/attributes_cpp.template

Issue 943013002: Implement Custom Elements (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: attributeChanged***d***Callback Created 5 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: sky/engine/bindings/scripts/templates/attributes_cpp.template
diff --git a/sky/engine/bindings/scripts/templates/attributes_cpp.template b/sky/engine/bindings/scripts/templates/attributes_cpp.template
index cc0184087c4041bb18f2d9a43c204833c1e93895..6df30964262bb21d68c867264f3a1527609269d3 100644
--- a/sky/engine/bindings/scripts/templates/attributes_cpp.template
+++ b/sky/engine/bindings/scripts/templates/attributes_cpp.template
@@ -83,7 +83,7 @@ static void {{static_attribute_name(attribute, 'Setter')}}(Dart_NativeArguments
{
{{cpp_class}}* receiver = GetReceiver<{{cpp_class}}>(args);
{% if attribute.is_custom_element_callbacks %}
- CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
+ NewCustomElementCallbackScope deliveryScope;
{% endif %}
{% set attribute_name = attribute.name if not attribute.put_forwards else 'value' %}
« no previous file with comments | « no previous file | sky/engine/bindings/scripts/templates/methods_cpp.template » ('j') | sky/engine/core/dom/Element.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698