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

Unified Diff: tools/dom/templates/html/impl/impl_FileReader.darttemplate

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:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/dom/idl/dart/dart.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/templates/html/impl/impl_FileReader.darttemplate
===================================================================
--- tools/dom/templates/html/impl/impl_FileReader.darttemplate (revision 38259)
+++ tools/dom/templates/html/impl/impl_FileReader.darttemplate (working copy)
@@ -7,17 +7,19 @@
@DocsEditable()
$(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
-$if DART2JS
@DomName('FileReader.result')
@DocsEditable()
Object get result {
+$if DART2JS
var res = JS('Null|String|NativeByteBuffer', '#.result', this);
+$else
+ var res = _blink.BlinkFileReader.$result_Getter(this);
+$endif
if (res is ByteBuffer) {
return new Uint8List.view(res);
}
return res;
}
-$endif
$!MEMBERS
}
« no previous file with comments | « tools/dom/idl/dart/dart.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698