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

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

Issue 2587203002: Correct handling of cross-frame functions in ddc. (Closed)
Patch Set: Fix bug in Blob creation from workers. Created 4 years 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 | « tests/html/html.status ('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_Blob.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_Blob.darttemplate b/tools/dom/templates/html/impl/impl_Blob.darttemplate
index 62ac4c70eea54307e94ed15f1dd09e4de96d131b..8cf70b96e636b52cda43c3981a4a26ae6018ea49 100644
--- a/tools/dom/templates/html/impl/impl_Blob.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Blob.darttemplate
@@ -20,8 +20,8 @@ $if DART2JS
return _create_2(blobParts, bag);
}
- static _create_1(parts) => JS('Blob', 'new window.Blob(#)', parts);
- static _create_2(parts, bag) => JS('Blob', 'new window.Blob(#, #)', parts, bag);
+ static _create_1(parts) => JS('Blob', 'new self.Blob(#)', parts);
+ static _create_2(parts, bag) => JS('Blob', 'new self.Blob(#, #)', parts, bag);
static _create_bag() => JS('var', '{}');
static _bag_set(bag, key, value) { JS('void', '#[#] = #', bag, key, value); }
« no previous file with comments | « tests/html/html.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698