Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(754)

Unified Diff: mojo/dart/packages/mojo/lib/src/buffer.dart

Issue 1694413003: Cleanups in the Mojo package. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698