| Index: lib/typed_data/typed_data_patch.dart
|
| diff --git a/lib/typed_data/typed_data_patch.dart b/lib/typed_data/typed_data_patch.dart
|
| index 87065aca00da1be09c56510868f3e5ecdb97a1c2..58b1a58c3a6d95f1f4f07709cf5d4b85455c214b 100644
|
| --- a/lib/typed_data/typed_data_patch.dart
|
| +++ b/lib/typed_data/typed_data_patch.dart
|
| @@ -63,12 +63,12 @@ class _Uint8List extends _TypedData with ListMixin<int> implements Uint8List {
|
| }
|
|
|
| abstract class _TypedData {
|
| - final Foreign _foreign;
|
| + final ForeignMemory _foreign;
|
| final int offsetInBytes;
|
| final int lengthInBytes;
|
|
|
| _TypedData._create(int sizeInBytes)
|
| - : _foreign = new Foreign.allocatedFinalize(sizeInBytes),
|
| + : _foreign = new ForeignMemory.allocatedFinalize(sizeInBytes),
|
| offsetInBytes = 0,
|
| lengthInBytes = sizeInBytes;
|
|
|
| @@ -85,11 +85,11 @@ abstract class _TypedData {
|
| }
|
|
|
| class _ByteBuffer implements ByteBuffer {
|
| - final Foreign _foreign;
|
| + final ForeignMemory _foreign;
|
|
|
| _ByteBuffer._from(this._foreign);
|
|
|
| - Foreign getForeign() => _foreign;
|
| + ForeignMemory getForeign() => _foreign;
|
|
|
| int get lengthInBytes => _foreign.length;
|
|
|
|
|