Index: sdk/lib/io/file_impl.dart |
diff --git a/sdk/lib/io/file_impl.dart b/sdk/lib/io/file_impl.dart |
index 34808d839bdbdd596b7fa9e5fa4422e08ec44753..59695a20c4065628f2a160de0b253aa8805048d1 100644 |
--- a/sdk/lib/io/file_impl.dart |
+++ b/sdk/lib/io/file_impl.dart |
@@ -770,7 +770,7 @@ class _RandomAccessFile implements RandomAccessFile { |
_BufferAndStart result; |
try { |
- result = _ensureFastAndSerializableBuffer(buffer, start, end); |
+ result = _ensureFastAndSerializableData(buffer, start, end); |
} catch (e) { |
return new Future.error(e); |
} |
@@ -805,7 +805,7 @@ class _RandomAccessFile implements RandomAccessFile { |
if (end == start) return; |
_checkReadWriteListArguments(buffer.length, start, end); |
_BufferAndStart bufferAndStart = |
- _ensureFastAndSerializableBuffer(buffer, start, end); |
+ _ensureFastAndSerializableData(buffer, start, end); |
var result = _writeFrom(_id, |
bufferAndStart.buffer, |
bufferAndStart.start, |