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

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

Issue 1057193002: Don't cache SVG CssClassSet (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/templates/html/impl/impl_SVGElement.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_SVGElement.darttemplate b/tools/dom/templates/html/impl/impl_SVGElement.darttemplate
index 1d9f06e3ad7b78461c6853493a53f1d593120113..dd235bc685f4538c59642fdc8496aea1294007fb 100644
--- a/tools/dom/templates/html/impl/impl_SVGElement.darttemplate
+++ b/tools/dom/templates/html/impl/impl_SVGElement.darttemplate
@@ -54,13 +54,7 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS
return fragment.nodes.where((e) => e is SvgElement).single;
}
- _AttributeClassSet _cssClassSet;
- CssClassSet get classes {
- if (_cssClassSet == null) {
- _cssClassSet = new _AttributeClassSet(this);
- }
- return _cssClassSet;
- }
+ CssClassSet get classes => new _AttributeClassSet(this);
List<Element> get children => new FilteredElementList<Element>(this);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698