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

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

Issue 9662010: Don't put private members in dart:html interfaces. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes 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
« no previous file with comments | « client/html/release/html.dart ('k') | client/html/src/shared_FactoryProviders.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/html/src/_Testing.dart
diff --git a/client/html/src/_Testing.dart b/client/html/src/_Testing.dart
index 0252adaa9e5e9677ebf9b3db139f489d027b69b7..7313c033e8944408ebd4abc2b9e08a01dc152dfd 100644
--- a/client/html/src/_Testing.dart
+++ b/client/html/src/_Testing.dart
@@ -8,10 +8,12 @@
*/
class Testing {
static void addEventListener(EventTarget target, String type, EventListener listener, bool useCapture) {
- target._addEventListener(type, listener, useCapture);
+ final _EventTargetImpl targetImpl = target;
+ targetImpl._addEventListener(type, listener, useCapture);
}
static void removeEventListener(EventTarget target, String type, EventListener listener, bool useCapture) {
- target._removeEventListener(type, listener, useCapture);
+ final _EventTargetImpl targetImpl = target;
+ targetImpl._removeEventListener(type, listener, useCapture);
}
}
« no previous file with comments | « client/html/release/html.dart ('k') | client/html/src/shared_FactoryProviders.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698