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

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

Issue 1832713002: Optimize dartium dart:html bindings so real world application performance is acceptable. Improves d… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: update cached patches Created 4 years, 9 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_Blob.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_Blob.darttemplate b/tools/dom/templates/html/impl/impl_Blob.darttemplate
index 0b124523a6077aad54dee8a9c628c58c92047055..e2617c2adc12a9c43a7c1c8181359531502e970d 100644
--- a/tools/dom/templates/html/impl/impl_Blob.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Blob.darttemplate
@@ -31,15 +31,15 @@ $else
// TODO: any coercions on the elements of blobParts, e.g. coerce a typed
// array to ArrayBuffer if it is a total view.
- var parts = convertDartToNative_List(blobParts.map(unwrap_jso).toList());
+ var parts = convertDartToNative_List(blobParts);
if (type == null && endings == null) {
- return wrap_jso(_blink.BlinkBlob.instance.constructorCallback_1_(parts));
+ return _blink.BlinkBlob.instance.constructorCallback_1_(parts);
}
var bag = {};
if (type != null) bag['type'] = type;
if (endings != null) bag['endings'] = endings;
- return wrap_jso(_blink.BlinkBlob.instance.constructorCallback_2_(parts,
- convertDartToNative_Dictionary(bag)));
+ return _blink.BlinkBlob.instance.constructorCallback_2_(parts,
+ convertDartToNative_Dictionary(bag));
}
$endif
$endif

Powered by Google App Engine
This is Rietveld 408576698