summaryrefslogtreecommitdiff
path: root/Source/WebCore/page/Performance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/page/Performance.cpp')
-rw-r--r--Source/WebCore/page/Performance.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/page/Performance.cpp b/Source/WebCore/page/Performance.cpp
index 72b73b16d..254bf0d3e 100644
--- a/Source/WebCore/page/Performance.cpp
+++ b/Source/WebCore/page/Performance.cpp
@@ -245,8 +245,8 @@ void Performance::webkitClearMeasures(const String& measureName)
double Performance::now() const
{
- double nowSeconds = WTF::monotonicallyIncreasingTime() - m_referenceTime;
- const double resolutionSeconds = 0.000005;
+ double nowSeconds = monotonicallyIncreasingTime() - m_referenceTime;
+ const double resolutionSeconds = 0.001;
return 1000.0 * floor(nowSeconds / resolutionSeconds) * resolutionSeconds;
}