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

Unified Diff: mojo/public/dart/src/handle_watcher.dart

Issue 1059543002: Make MojoResults positive. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 9 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/public/dart/src/handle_watcher.dart
diff --git a/mojo/public/dart/src/handle_watcher.dart b/mojo/public/dart/src/handle_watcher.dart
index 70cc2978dc54cee2ba01ec940ab69206ecdb7fc9..4aeeaffd0bed4bb770a458fe63b0738240c5ae85 100644
--- a/mojo/public/dart/src/handle_watcher.dart
+++ b/mojo/public/dart/src/handle_watcher.dart
@@ -30,8 +30,8 @@ class MojoHandleWatcher {
static const int kDeadlineIndefinite = -1;
static const int kMojoResultOk = 0;
- static const int kMojoResultDeadlineExceeded = -4;
- static const int kMojoResultFailedPrecondition = -9;
+ static const int kMojoResultDeadlineExceeded = 4;
+ static const int kMojoResultFailedPrecondition = 9;
static const int kMojoSignalsReadable = (1 << 0);
static const int kMojoSignalsWritable = (1 << 1);

Powered by Google App Engine
This is Rietveld 408576698