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

Unified Diff: third_party/mojo/src/mojo/public/dart/src/timer_queue.dart

Issue 1029113005: Update mojo sdk to rev cb6c5abfadfea0ca73dca466e2894554ac1ae144 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment 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: third_party/mojo/src/mojo/public/dart/src/timer_queue.dart
diff --git a/third_party/mojo/src/mojo/public/dart/src/timer_queue.dart b/third_party/mojo/src/mojo/public/dart/src/timer_queue.dart
index 8f9936bd4d34850d645e2f9a5706ca2b219ba8c6..01c2493da204ed948fcfcb39c8542e6bf1245f6b 100644
--- a/third_party/mojo/src/mojo/public/dart/src/timer_queue.dart
+++ b/third_party/mojo/src/mojo/public/dart/src/timer_queue.dart
@@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-part of core;
+part of internal;
class Timeout implements Comparable<Timeout> {
- int deadline; // milliseconds since the Unix epoch.
+ int deadline; // milliseconds since the Unix epoch.
SendPort port;
Timeout(this.port, this.deadline);
- int compareTo(Timeout other) => other.deadline - deadline;
+ int compareTo(Timeout other) => deadline - other.deadline;
}
class TimerQueue {

Powered by Google App Engine
This is Rietveld 408576698