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); |
} |
} |