Fix dataTransferItemList indexing

BUG=

Review URL: https://codereview.chromium.org/2326113002 .
This commit is contained in:
Alan Knight 2016-09-09 12:28:59 -07:00
parent 7fd0aa00de
commit 42f8ab2d6a
2 changed files with 2 additions and 2 deletions

View file

@ -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());
}
}

View file

@ -15,7 +15,7 @@ $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);
return _blink.Blink_JsNative_DomException.getProperty(this, index.toString());
$endif
}