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

Unified Diff: lib/html/src/dartium_FactoryProviders.dart

Issue 9732019: dart:html perf optimization based on runing Dromaeo benchmarks (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixes Created 8 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: lib/html/src/dartium_FactoryProviders.dart
diff --git a/lib/html/src/dartium_FactoryProviders.dart b/lib/html/src/dartium_FactoryProviders.dart
index eefd6222b1604b8ea75deac5aecd5269898fc74e..d5227e8870c98ad4c8e77dcaccef91e5d4fa63d8 100644
--- a/lib/html/src/dartium_FactoryProviders.dart
+++ b/lib/html/src/dartium_FactoryProviders.dart
@@ -66,3 +66,7 @@ class _WebSocketFactoryProvider {
factory WebSocket(String url) => _wrap(new dom.WebSocket(url));
}
+
+class _TextFactoryProvider {
+ factory Text(String data) => _document.$dom_createTextNode(data);
+}

Powered by Google App Engine
This is Rietveld 408576698