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

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

Issue 2326113002: Fix dataTransferItemList indexing (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 3 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:
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 e007fc345d02570218cf85f366cd76564ce57ed4..b3be18227b432e69924825b780687b1c80d77f45 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -9381,7 +9381,7 @@ class DataTransferItemList extends DartHtmlDomObject {
// 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);
+ return _blink.Blink_JsNative_DomException.getProperty(this, index.toString());
}
}
« 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