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

Unified Diff: dm/DM.cpp

Issue 1811613004: Change SkTime::GetMSecs to double; ensure values stored in SkMSec do not overflow. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Rebase. Created 4 years, 9 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 | « no previous file | gm/SkAnimTimer.h » ('j') | include/core/SkTime.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DM.cpp
diff --git a/dm/DM.cpp b/dm/DM.cpp
index 9b3a42f48bd62ef85e6fb08463436aa8206ef4a6..8f8e68be64ab8f7d11adda834ef52815005fb3ed 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -73,7 +73,7 @@ using namespace DM;
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-static const SkMSec kStartMs = SkTime::GetMSecs();
+static const double kStartMs = SkTime::GetMSecs();
static FILE* gVLog;
« no previous file with comments | « no previous file | gm/SkAnimTimer.h » ('j') | include/core/SkTime.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698