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

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

Issue 395913002: Change in preparation of fixing issue 19500. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 5 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/idl/dart/dart.idl » ('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
===================================================================
--- 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);
« no previous file with comments | « no previous file | tools/dom/idl/dart/dart.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698