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

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Side-by-side diff isn't available for this file because of its large size.
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:
Download patch
« no previous file with comments | « no previous file | tools/dom/templates/html/impl/impl_DataTransferItemList.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index e2a3272542fca5446559b857eee55b73cbfbd0d9..db10d1eef14e6647a93ccccfacd8227e39a05a8f 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -9495,7 +9495,10 @@ class DataTransferItemList extends DartHtmlDomObject {
DataTransferItem operator[] (int index) {
- 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);
}
}
« no previous file with comments | « no previous file | tools/dom/templates/html/impl/impl_DataTransferItemList.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698