Index: include/core/SkTime.h |
diff --git a/include/core/SkTime.h b/include/core/SkTime.h |
index a8656347aa610c45d3c155b478af5d7c0a25a66f..2cfe3efcb45c6d355032aac671db9d361866b024 100644 |
--- a/include/core/SkTime.h |
+++ b/include/core/SkTime.h |
@@ -34,7 +34,8 @@ public: |
}; |
static void GetDateTime(DateTime*); |
- static SkMSec GetMSecs(); |
+ static SkMSec GetMSecs() { return (SkMSec)(GetNSecs() * 1e-6); } |
+ static double GetNSecs(); |
}; |
#if defined(SK_DEBUG) && defined(SK_BUILD_FOR_WIN32) |