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

Unified Diff: pkg/dev_compiler/lib/js/legacy/dart_sdk.js

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:
Download patch
Index: pkg/dev_compiler/lib/js/legacy/dart_sdk.js
diff --git a/pkg/dev_compiler/lib/js/legacy/dart_sdk.js b/pkg/dev_compiler/lib/js/legacy/dart_sdk.js
index d960ce59d5e7d01de7869785a030c1f6ee237136..e0639d0a7afcfe3b542d9989b57e7efa3a4b8129 100644
--- a/pkg/dev_compiler/lib/js/legacy/dart_sdk.js
+++ b/pkg/dev_compiler/lib/js/legacy/dart_sdk.js
@@ -59507,10 +59507,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.Blob._check(html$.Blob._create_2(blobParts, bag));
}
static _create_1(parts) {
- return new window.Blob(parts);
+ return new self.Blob(parts);
}
static _create_2(parts, bag) {
- return new window.Blob(parts, bag);
+ return new self.Blob(parts, bag);
}
static _create_bag() {
return {};
« no previous file with comments | « pkg/dev_compiler/lib/js/es6/dart_sdk.js ('k') | pkg/dev_compiler/tool/input_sdk/lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698