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

Unified Diff: lib/html/templates/html/dart2js/factoryprovider_Blob.darttemplate

Issue 10915245: Removing interfaces from dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Incorporating review feedback. Created 8 years, 3 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: lib/html/templates/html/dart2js/factoryprovider_Blob.darttemplate
diff --git a/lib/html/templates/html/dart2js/factoryprovider_Blob.darttemplate b/lib/html/templates/html/dart2js/factoryprovider_Blob.darttemplate
index 73a1178307c81409105e8ffb844ea88091cb9533..f1d863063e2b64561c27c88666877cefcc404f34 100644
--- a/lib/html/templates/html/dart2js/factoryprovider_Blob.darttemplate
+++ b/lib/html/templates/html/dart2js/factoryprovider_Blob.darttemplate
@@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
class $FACTORYPROVIDER {
- factory Blob(List blobParts = null, [String type, String endings]) {
+ static Blob createBlob([List blobParts = null, String type, String endings]) {
// TODO: validate that blobParts is a JS Array and convert if not.
// TODO: any coercions on the elements of blobParts, e.g. coerce a typed
// array to ArrayBuffer if it is a total view.

Powered by Google App Engine
This is Rietveld 408576698