Chromium Code Reviews| Index: lib/html/dartium/html_dartium.dart |
| diff --git a/lib/html/dartium/html_dartium.dart b/lib/html/dartium/html_dartium.dart |
| index efa03aca403c5350823e3339b58069e908956a08..af9d43ba1c689bec57f2e9baa1e346fc9df4e946 100644 |
| --- a/lib/html/dartium/html_dartium.dart |
| +++ b/lib/html/dartium/html_dartium.dart |
| @@ -646,6 +646,14 @@ class _BiquadFilterNodeImpl extends _AudioNodeImpl implements BiquadFilterNode { |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| +class _BlobFactoryProvider { |
| + factory Blob(List blobParts, [String type = null, String endings = null]) => _createBlob(blobParts, type, endings); |
|
Anton Muhin
2012/06/29 12:19:43
that should be _null in Dartium.
sra1
2012/06/29 19:13:30
Even when passed directly to a native function?
Anton Muhin
2012/07/02 13:02:39
That's a good point. I think ideally you should h
|
| + static Blob _createBlob(List blobParts, [String type = null, String endings = null]) native "Blob_constructor_Callback"; |
| +} |
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| +// for details. All rights reserved. Use of this source code is governed by a |
| +// BSD-style license that can be found in the LICENSE file. |
| + |
| // WARNING: Do not edit - generated code. |
| class _BlobImpl extends _DOMWrapperBase implements Blob { |
| @@ -22310,7 +22318,9 @@ interface BiquadFilterNode extends AudioNode { |
| // WARNING: Do not edit - generated code. |
| /// @domName Blob |
| -interface Blob { |
| +interface Blob default _BlobFactoryProvider { |
| + |
| + Blob(List blobParts, [String type, String endings]); |
| /** @domName Blob.size */ |
| final int size; |