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

Unified Diff: client/dom/generated/src/wrapping/_WebKitBlobBuilderWrappingImplementation.dart

Issue 8895013: Add enables consistent with Chrome's WebKit (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Alpha the ENABLEs Created 9 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
Index: client/dom/generated/src/wrapping/_WebKitBlobBuilderWrappingImplementation.dart
diff --git a/client/dom/generated/src/wrapping/_WebKitBlobBuilderWrappingImplementation.dart b/client/dom/generated/src/wrapping/_WebKitBlobBuilderWrappingImplementation.dart
index 01d44bfd0efe1dee2b22a7d8289ff22934459c12..abdf206dd033e506d72003c924e399166f9805ce 100644
--- a/client/dom/generated/src/wrapping/_WebKitBlobBuilderWrappingImplementation.dart
+++ b/client/dom/generated/src/wrapping/_WebKitBlobBuilderWrappingImplementation.dart
@@ -11,28 +11,36 @@ class _WebKitBlobBuilderWrappingImplementation extends DOMWrapperBase implements
return new _WebKitBlobBuilderWrappingImplementation();
}
- void append(var blob_OR_value, [String endings = null]) {
- if (blob_OR_value is Blob) {
+ void append(var arrayBuffer_OR_blob_OR_value, [String endings = null]) {
+ if (arrayBuffer_OR_blob_OR_value is Blob) {
if (endings === null) {
- _append(this, blob_OR_value);
+ _append(this, arrayBuffer_OR_blob_OR_value);
return;
}
} else {
- if (blob_OR_value is String) {
+ if (arrayBuffer_OR_blob_OR_value is ArrayBuffer) {
if (endings === null) {
- _append_2(this, blob_OR_value);
- return;
- } else {
- _append_3(this, blob_OR_value, endings);
+ _append_2(this, arrayBuffer_OR_blob_OR_value);
return;
}
+ } else {
+ if (arrayBuffer_OR_blob_OR_value is String) {
+ if (endings === null) {
+ _append_3(this, arrayBuffer_OR_blob_OR_value);
+ return;
+ } else {
+ _append_4(this, arrayBuffer_OR_blob_OR_value, endings);
+ return;
+ }
+ }
}
}
throw "Incorrect number or type of arguments";
}
- static void _append(receiver, blob_OR_value) native;
- static void _append_2(receiver, blob_OR_value) native;
- static void _append_3(receiver, blob_OR_value, endings) native;
+ static void _append(receiver, arrayBuffer_OR_blob_OR_value) native;
+ static void _append_2(receiver, arrayBuffer_OR_blob_OR_value) native;
+ static void _append_3(receiver, arrayBuffer_OR_blob_OR_value) native;
+ static void _append_4(receiver, arrayBuffer_OR_blob_OR_value, endings) native;
Blob getBlob([String contentType = null]) {
if (contentType === null) {

Powered by Google App Engine
This is Rietveld 408576698