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

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

Issue 12857006: Removing CssValue APIs (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
Index: tools/dom/templates/html/impl/impl_SVGColor.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_ImageData.darttemplate b/tools/dom/templates/html/impl/impl_SVGColor.darttemplate
similarity index 52%
copy from tools/dom/templates/html/impl/impl_ImageData.darttemplate
copy to tools/dom/templates/html/impl/impl_SVGColor.darttemplate
index c7e0977bb537c18f02357fedc6c19d2581ee1eb8..ea7c6e6e365ffd957d568123384c022d71d3d107 100644
--- a/tools/dom/templates/html/impl/impl_ImageData.darttemplate
+++ b/tools/dom/templates/html/impl/impl_SVGColor.darttemplate
@@ -3,18 +3,9 @@
// BSD-style license that can be found in the LICENSE file.
part of $LIBRARYNAME;
-$ANNOTATIONS
-class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
-$if DARTIUM
- List<int> __data;
- List<int> get data {
- if (__data == null) {
- __data = _data;
- }
- return __data;
- }
-$endif
-
-$!MEMBERS
-}
+// Hack because the baseclass is private in dart:html, and we want to omit this
+// type entirely but can't.
+@DocsEditable
+$(ANNOTATIONS)class $CLASSNAME$IMPLEMENTS$NATIVESPEC {
+$!MEMBERS}

Powered by Google App Engine
This is Rietveld 408576698