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

Unified Diff: tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate

Issue 24491003: Revert "Revert "Start of dartium custom element lifecycle event support."" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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: tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate b/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate
index a29e0c1c14235259431cb1eb87a7afb30c8e0043..08e370962fb7bb9870ab715da9241a7e027f993b 100644
--- a/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate
+++ b/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate
@@ -242,13 +242,13 @@ $endif
* * VideoElement
*/
$if DART2JS
- void register(String tag, Type customElementClass, {String nativeTagName}) {
+ void register(String tag, Type customElementClass, {String extendsTag}) {
_registerCustomElement(JS('', 'window'), this, tag, customElementClass,
- nativeTagName);
+ extendsTag);
}
$else
- void register(String tag, Type customElementClass, {String nativeTagName}) {
- _Utils.register(tag, customElementClass);
+ void register(String tag, Type customElementClass, {String extendsTag}) {
+ _Utils.register(this, tag, customElementClass, extendsTag);
}
$endif

Powered by Google App Engine
This is Rietveld 408576698