diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/SkTime.h | 4 | ||||
-rw-r--r-- | core/SkTypes.h | 4 |
2 files changed, 1 insertions, 7 deletions
diff --git a/core/SkTime.h b/core/SkTime.h index c4a7d06..51616d4 100644 --- a/core/SkTime.h +++ b/core/SkTime.h @@ -28,9 +28,7 @@ public: }; static void GetDateTime(DateTime*); - static SkMSec GetMSecs() { return GetNSecs() / 1000000; } - - static SkNSec GetNSecs(); + static SkMSec GetMSecs(); }; #if defined(SK_DEBUG) && defined(SK_BUILD_FOR_WIN32) diff --git a/core/SkTypes.h b/core/SkTypes.h index 3a512ab..13450cd 100644 --- a/core/SkTypes.h +++ b/core/SkTypes.h @@ -315,10 +315,6 @@ typedef uint32_t SkMSec; */ #define SkMSec_LE(a, b) ((int32_t)(a) - (int32_t)(b) <= 0) -/** 64 bit value to hold nanosecond count -*/ -typedef uint64_t SkNSec; - /** The generation IDs in Skia reserve 0 has an invalid marker. */ #define SK_InvalidGenID 0 |