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

Unified Diff: tools/dom/templates/html/impl/impl_DataTransferItemList.darttemplate

Issue 1431543004: Fix indexed access for DataTransferItemList (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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 | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 54acce1e6ff548740df6ff0100314a7dd53cdd34..31455d62fa3a9e4cb31ee10a7f82ea102c2903d4 100644
--- a/tools/dom/templates/html/impl/impl_DataTransferItemList.darttemplate
+++ b/tools/dom/templates/html/impl/impl_DataTransferItemList.darttemplate
@@ -12,7 +12,10 @@ $!MEMBERS
$if DART2JS
return JS('DataTransferItem', '#[#]', this, index);
$else
- return __getter__(index);
+ // 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(unwrap_jso(this), index);
$endif
}
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698