Chromium Code Reviews| Index: mojo/dart/packages/mojo/lib/src/buffer.dart |
| diff --git a/mojo/dart/packages/mojo/lib/src/buffer.dart b/mojo/dart/packages/mojo/lib/src/buffer.dart |
| index 8c9e2ef09eb202040fa3e6be6663e60ec16bf9dd..cacc8c010251ad2d5d3d65ec1a0bba2650281a0c 100644 |
| --- a/mojo/dart/packages/mojo/lib/src/buffer.dart |
| +++ b/mojo/dart/packages/mojo/lib/src/buffer.dart |
| @@ -5,9 +5,9 @@ |
| part of core; |
| class MojoSharedBuffer { |
| - static const int createFlagNone = 0; |
| - static const int duplicateFlagNone = 0; |
| - static const int mapFlagNone = 0; |
| + static const int createFlagNone = MojoConstants.kNone; |
|
zra
2016/02/16 16:58:26
This indirection increases the amount of compilati
floitsch
2016/02/16 17:03:54
The constants are defined by the internal library
|
| + static const int duplicateFlagNone = MojoConstants.kNone; |
| + static const int mapFlagNone = MojoConstants.kNone; |
| MojoHandle _handle; |
| int _status = MojoResult.kOk; |