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

Unified Diff: sdk/lib/html/src/shared_FactoryProviders.dart

Issue 11419300: Dartifying dart:html type names. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Unminifying & fixing Stephen's feedback. Created 8 years 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: sdk/lib/html/src/shared_FactoryProviders.dart
diff --git a/sdk/lib/html/src/shared_FactoryProviders.dart b/sdk/lib/html/src/shared_FactoryProviders.dart
index 89291213560b5e62e640c2afdc088f3b1b46faf7..a5d6909a119bab537c92ac52914961fa8e502dd7 100644
--- a/sdk/lib/html/src/shared_FactoryProviders.dart
+++ b/sdk/lib/html/src/shared_FactoryProviders.dart
@@ -36,15 +36,15 @@ class _MouseEventFactoryProvider {
}
}
-class _CSSStyleDeclarationFactoryProvider {
- static CSSStyleDeclaration createCSSStyleDeclaration_css(String css) {
+class _CssStyleDeclarationFactoryProvider {
+ static CssStyleDeclaration createCssStyleDeclaration_css(String css) {
final style = new Element.tag('div').style;
style.cssText = css;
return style;
}
- static CSSStyleDeclaration createCSSStyleDeclaration() {
- return new CSSStyleDeclaration.css('');
+ static CssStyleDeclaration createCssStyleDeclaration() {
+ return new CssStyleDeclaration.css('');
}
}
@@ -73,7 +73,7 @@ class _DocumentFragmentFactoryProvider {
static DocumentFragment createDocumentFragment_svg(String svgContent) {
final fragment = new DocumentFragment();
- final e = new svg.SVGSVGElement();
+ final e = new svg.SvgSvgElement();
e.innerHtml = svgContent;
// Copy list first since we don't want liveness during iteration.

Powered by Google App Engine
This is Rietveld 408576698