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

Unified Diff: mojo/dart/packages/mojo/sdk_ext/src/natives.dart

Issue 1519213004: Roll Dart forward. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years 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/sdk_ext/src/natives.dart
diff --git a/mojo/dart/packages/mojo/sdk_ext/src/natives.dart b/mojo/dart/packages/mojo/sdk_ext/src/natives.dart
index 442b342c28b19d90e599a04383fafcd6afe79bca..2171c8fd89655e07c547c6ce84d7fd6bdb9ba920 100644
--- a/mojo/dart/packages/mojo/sdk_ext/src/natives.dart
+++ b/mojo/dart/packages/mojo/sdk_ext/src/natives.dart
@@ -13,6 +13,7 @@ class _OpenHandle {
class MojoCoreNatives {
static int getTimeTicksNow() native "Mojo_GetTimeTicksNow";
+ static int timerMillisecondClock() => getTimeTicksNow() ~/ 1000;
}
class MojoHandleNatives {

Powered by Google App Engine
This is Rietveld 408576698