Index: sdk/lib/html/dartium/html_dartium.dart |
=================================================================== |
--- sdk/lib/html/dartium/html_dartium.dart (revision 38259) |
+++ sdk/lib/html/dartium/html_dartium.dart (working copy) |
@@ -12926,6 +12926,15 @@ |
@DomName('FileReader') |
class FileReader extends EventTarget { |
+ @DomName('FileReader.result') |
+ @DocsEditable() |
+ Object get result { |
+ var res = _blink.BlinkFileReader.$result_Getter(this); |
+ if (res is ByteBuffer) { |
+ return new Uint8List.view(res); |
+ } |
+ return res; |
+ } |
// To suppress missing implicit constructor warnings. |
factory FileReader._() { throw new UnsupportedError("Not supported"); } |
@@ -13014,10 +13023,6 @@ |
@DocsEditable() |
int get readyState => _blink.BlinkFileReader.$readyState_Getter(this); |
- @DomName('FileReader.result') |
- @DocsEditable() |
- Object get result => _blink.BlinkFileReader.$result_Getter(this); |
- |
@DomName('FileReader.abort') |
@DocsEditable() |
void abort() => _blink.BlinkFileReader.$abort_Callback(this); |