Index: include/core/SkTime.h |
diff --git a/include/core/SkTime.h b/include/core/SkTime.h |
index 51616d41c741f724ec365243a5aeab6d0ad26faa..c4a7d06fe33b2eda7d51c75a7ec6dfe0d03d0e36 100644 |
--- a/include/core/SkTime.h |
+++ b/include/core/SkTime.h |
@@ -28,7 +28,9 @@ public: |
}; |
static void GetDateTime(DateTime*); |
- static SkMSec GetMSecs(); |
+ static SkMSec GetMSecs() { return GetNSecs() / 1000000; } |
+ |
+ static SkNSec GetNSecs(); |
}; |
#if defined(SK_DEBUG) && defined(SK_BUILD_FOR_WIN32) |