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

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

Issue 10456006: Wrapperless dart:html for Dartium. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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 46a4f7ab265800a131077f133618faad1ecdf3cd..2917141237b3cd8463163da47a0a0510f11c4714 100644
--- a/lib/html/src/_Testing.dart
+++ b/lib/html/src/_Testing.dart
@@ -10,12 +10,10 @@
*/
class Testing {
static void addEventListener(EventTarget target, String type, EventListener listener, bool useCapture) {
- final _EventTargetImpl targetImpl = target;
- targetImpl.$dom_addEventListener(type, listener, useCapture);
+ target.$dom_addEventListener(type, listener, useCapture);
}
static void removeEventListener(EventTarget target, String type, EventListener listener, bool useCapture) {
- final _EventTargetImpl targetImpl = target;
- targetImpl.$dom_removeEventListener(type, listener, useCapture);
+ target.$dom_removeEventListener(type, listener, useCapture);
}
}

Powered by Google App Engine
This is Rietveld 408576698