| Index: mojo/public/dart/src/buffer.dart
|
| diff --git a/mojo/public/dart/src/buffer.dart b/mojo/public/dart/src/buffer.dart
|
| index 0e6bc2c78a217f74ff896dbc33df32d1641c37ed..c0071b3f28644c9c96c23dd94bc974b3bb66ff34 100644
|
| --- a/mojo/public/dart/src/buffer.dart
|
| +++ b/mojo/public/dart/src/buffer.dart
|
| @@ -28,7 +28,7 @@ class MojoSharedBuffer {
|
| static const int DUPLICATE_FLAG_NONE = 0;
|
| static const int MAP_FLAG_NONE = 0;
|
|
|
| - RawMojoHandle handle;
|
| + MojoHandle handle;
|
| MojoResult status;
|
| ByteData mapping;
|
|
|
| @@ -51,7 +51,7 @@ class MojoSharedBuffer {
|
|
|
| MojoSharedBuffer buf = new MojoSharedBuffer._();
|
| buf.status = r;
|
| - buf.handle = new RawMojoHandle(result[1]);
|
| + buf.handle = new MojoHandle(result[1]);
|
| buf.mapping = null;
|
| return buf;
|
| }
|
| @@ -69,7 +69,7 @@ class MojoSharedBuffer {
|
|
|
| MojoSharedBuffer dupe = new MojoSharedBuffer._();
|
| dupe.status = r;
|
| - dupe.handle = new RawMojoHandle(result[1]);
|
| + dupe.handle = new MojoHandle(result[1]);
|
| dupe.mapping = null; // The buffer is not mapped in the duplicate.
|
| return dupe;
|
| }
|
|
|