Index: tools/dom/templates/html/impl/impl_DataTransferItemList.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_DataTransferItemList.darttemplate b/tools/dom/templates/html/impl/impl_DataTransferItemList.darttemplate |
index 926ad9137a1da8e8adb97b78a0ff374cf4573625..1636c05f087bda1a87fd8a491dd03cb3eb0b8cab 100644 |
--- a/tools/dom/templates/html/impl/impl_DataTransferItemList.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_DataTransferItemList.darttemplate |
@@ -9,14 +9,7 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$MIXINS$IMP |
$!MEMBERS |
DataTransferItem operator[] (int index) { |
-$if DART2JS |
return JS('DataTransferItem', '#[#]', this, index); |
-$else |
- // TODO(alanknight): I think that all the __getter__ generators should just |
- // do property access, but that's major surgery. This one is a problem, so |
- // just hard-code it for now. |
- return _blink.Blink_JsNative_DomException.getProperty(this, index.toString()); |
-$endif |
} |
} |