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

Unified Diff: lib/dom/templates/html/frog/impl_EventTarget.darttemplate

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/dom/templates/html/frog/impl_EventTarget.darttemplate
diff --git a/lib/dom/templates/html/frog/impl_EventTarget.darttemplate b/lib/dom/templates/html/frog/impl_EventTarget.darttemplate
index caf475bf22c3ba7c221741b25b7bfa8681787862..76bbda430bfe330fe31dda8720d265817e1e6202 100644
--- a/lib/dom/templates/html/frog/impl_EventTarget.darttemplate
+++ b/lib/dom/templates/html/frog/impl_EventTarget.darttemplate
@@ -43,15 +43,15 @@ class _EventListenerListImpl implements EventListenerList {
// TODO(jacobr): what is the correct behavior here. We could alternately
// force the event to have the expected type.
assert(evt.type == _type);
- return _ptr._dispatchEvent(evt);
+ return _ptr.$dom_dispatchEvent(evt);
}
void _add(EventListener listener, bool useCapture) {
- _ptr._addEventListener(_type, listener, useCapture);
+ _ptr.$dom_addEventListener(_type, listener, useCapture);
}
void _remove(EventListener listener, bool useCapture) {
- _ptr._removeEventListener(_type, listener, useCapture);
+ _ptr.$dom_removeEventListener(_type, listener, useCapture);
}
}

Powered by Google App Engine
This is Rietveld 408576698