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

Unified Diff: include/core/SkTime.h

Issue 1420923003: Revert of SkTime::GetNSecs() (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « gyp/tools.gyp ('k') | src/animator/SkTime.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkTime.h
diff --git a/include/core/SkTime.h b/include/core/SkTime.h
index 2cfe3efcb45c6d355032aac671db9d361866b024..a8656347aa610c45d3c155b478af5d7c0a25a66f 100644
--- a/include/core/SkTime.h
+++ b/include/core/SkTime.h
@@ -34,8 +34,7 @@
};
static void GetDateTime(DateTime*);
- static SkMSec GetMSecs() { return (SkMSec)(GetNSecs() * 1e-6); }
- static double GetNSecs();
+ static SkMSec GetMSecs();
};
#if defined(SK_DEBUG) && defined(SK_BUILD_FOR_WIN32)
« no previous file with comments | « gyp/tools.gyp ('k') | src/animator/SkTime.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698