Index: tools/dom/templates/html/impl/impl_HTMLElement.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_HTMLElement.darttemplate b/tools/dom/templates/html/impl/impl_HTMLElement.darttemplate |
index fdc305fd37bc4d832495e3ab84520a14fd083bf5..a76d90f2a8507fb3c452ce733c65e19bd9cd6dab 100644 |
--- a/tools/dom/templates/html/impl/impl_HTMLElement.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_HTMLElement.darttemplate |
@@ -8,10 +8,15 @@ part of $LIBRARYNAME; |
$(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { |
$!MEMBERS |
$if DARTIUM |
- // Flags to only try upgrading once if there's a failure don't try upgrading |
+ // Flags to only try upgrading once. If there's a failure don't try upgrading |
// anymore. |
bool _badUpgradeOccurred = false; |
- bool get _isBadUpgrade => _badUpgradeOccurred; |
+ |
+ /// Internal use only. Did this encounter a failure attempting to upgrade to |
kevmoo
2015/10/16 21:34:25
Format a clear first line.
/// Required for SDK i
Alan Knight
2015/10/16 22:58:30
Done.
|
+ /// a custom element. |
+ @deprecated |
+ bool get isBadUpgrade => _badUpgradeOccurred; |
+ |
void _badUpgrade() { _badUpgradeOccurred = true; } |
$endif |
} |