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

Unified Diff: lib/html/src/_Testing.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/_Testing.dart
diff --git a/lib/html/src/_Testing.dart b/lib/html/src/_Testing.dart
index 7313c033e8944408ebd4abc2b9e08a01dc152dfd..46a4f7ab265800a131077f133618faad1ecdf3cd 100644
--- a/lib/html/src/_Testing.dart
+++ b/lib/html/src/_Testing.dart
@@ -3,17 +3,19 @@
// BSD-style license that can be found in the LICENSE file.
// TODO(rnystrom): add a way to supress public classes from DartDoc output.
+// TODO(jacobr): we can remove this class now that we are using the $dom_
+// convention for deprecated methods rather than truly private methods.
/**
* This class is intended for testing purposes only.
*/
class Testing {
static void addEventListener(EventTarget target, String type, EventListener listener, bool useCapture) {
final _EventTargetImpl targetImpl = target;
- targetImpl._addEventListener(type, listener, useCapture);
+ targetImpl.$dom_addEventListener(type, listener, useCapture);
}
static void removeEventListener(EventTarget target, String type, EventListener listener, bool useCapture) {
final _EventTargetImpl targetImpl = target;
- targetImpl._removeEventListener(type, listener, useCapture);
+ targetImpl.$dom_removeEventListener(type, listener, useCapture);
}
}

Powered by Google App Engine
This is Rietveld 408576698