Index: webkit/support/webkit_support.cc |
diff --git a/webkit/support/webkit_support.cc b/webkit/support/webkit_support.cc |
index ebde513c0bc0ff294b4677fba0e0232032bfd7d5..4f16414a0d9ee466edf267d120edd805114810b4 100644 |
--- a/webkit/support/webkit_support.cc |
+++ b/webkit/support/webkit_support.cc |
@@ -740,8 +740,9 @@ ScopedTempDirectory* CreateScopedTempDirectory() { |
} |
int64 GetCurrentTimeInMillisecond() { |
- return base::TimeTicks::Now().ToInternalValue() |
- / base::Time::kMicrosecondsPerMillisecond; |
+ return base::TimeDelta(base::Time::Now() - |
+ base::Time::UnixEpoch()).ToInternalValue() / |
+ base::Time::kMicrosecondsPerMillisecond; |
} |
std::string EscapePath(const std::string& path) { |