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

Unified Diff: Source/wtf/DateMath.cpp

Issue 48663004: Fix more warnings in wtf (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix more warnings in wtf. Created 7 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 | « no previous file | Source/wtf/FastMalloc.cpp » ('j') | Source/wtf/dtoa.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/DateMath.cpp
diff --git a/Source/wtf/DateMath.cpp b/Source/wtf/DateMath.cpp
index 95952a3981f4076c3b7b45db30fb35d46d8fa58b..0a551d562e7ff507f4082b68c1c1a89aa240cf41 100644
--- a/Source/wtf/DateMath.cpp
+++ b/Source/wtf/DateMath.cpp
@@ -100,11 +100,7 @@ namespace WTF {
/* Constants */
-static const double minutesPerDay = 24.0 * 60.0;
static const double secondsPerDay = 24.0 * 60.0 * 60.0;
-static const double secondsPerYear = 24.0 * 60.0 * 60.0 * 365.0;
-
-static const double usecPerSec = 1000000.0;
static const double maxUnixTime = 2145859200.0; // 12/31/2037
// ECMAScript asks not to support for a date of which total
« no previous file with comments | « no previous file | Source/wtf/FastMalloc.cpp » ('j') | Source/wtf/dtoa.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698