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

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

Issue 10445011: Events operator [] shouldn't convert event name to lower case. (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/dom/templates/html/dartium/impl_EventTarget.darttemplate
diff --git a/lib/dom/templates/html/dartium/impl_EventTarget.darttemplate b/lib/dom/templates/html/dartium/impl_EventTarget.darttemplate
index 18b73540d74f0d719c2ffc14627cebb2d557efb4..a459cdc3a9b5414944063bae593abfa0e4cf9057 100644
--- a/lib/dom/templates/html/dartium/impl_EventTarget.darttemplate
+++ b/lib/dom/templates/html/dartium/impl_EventTarget.darttemplate
@@ -11,10 +11,6 @@ class _EventsImpl implements Events {
_EventsImpl(this._ptr) : _listenerMap = <EventListenerList>{};
EventListenerList operator [](String type) {
- return _get(type.toLowerCase());
- }
-
- EventListenerList _get(String type) {
return _listenerMap.putIfAbsent(type,
() => new _EventListenerListImpl(_ptr, type));
}

Powered by Google App Engine
This is Rietveld 408576698