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

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

Issue 2978213002: Removed DARTIUM codegen for IDLS (sdk/lib/dartium) (Closed)
Patch Set: Update generated darttemplate Created 3 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
Index: tools/dom/templates/html/impl/impl_FileReader.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_FileReader.darttemplate b/tools/dom/templates/html/impl/impl_FileReader.darttemplate
index d698e375e3811cc26f5dcfab8e7d6ecbec4be19e..c2bbff1fa896902b65fa584dd0508f470ef420b4 100644
--- a/tools/dom/templates/html/impl/impl_FileReader.darttemplate
+++ b/tools/dom/templates/html/impl/impl_FileReader.darttemplate
@@ -10,11 +10,7 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS
@DomName('FileReader.result')
@DocsEditable()
Object get result {
-$if DART2JS
var res = JS('Null|String|NativeByteBuffer', '#.result', this);
-$else
- var res = _blink.BlinkFileReader.instance.result_Getter_(this);
-$endif
if (res is ByteBuffer) {
return new Uint8List.view(res);
}

Powered by Google App Engine
This is Rietveld 408576698