Index: third_party/WebKit/Source/platform/heap/HeapPage.cpp |
diff --git a/third_party/WebKit/Source/platform/heap/HeapPage.cpp b/third_party/WebKit/Source/platform/heap/HeapPage.cpp |
index 4ee87f0fea6c2adb3cd7e0bde17424874351f4d6..10b30f8de75112e2dafff32746ad59ed959836b9 100644 |
--- a/third_party/WebKit/Source/platform/heap/HeapPage.cpp |
+++ b/third_party/WebKit/Source/platform/heap/HeapPage.cpp |
@@ -329,7 +329,7 @@ void BaseHeap::sweepUnsweptPage() |
bool BaseHeap::lazySweepWithDeadline(double deadlineSeconds) |
{ |
- // It might be heavy to call Platform::current()->monotonicallyIncreasingTime() |
+ // It might be heavy to call Platform::current()->monotonicallyIncreasingTimeSeconds() |
// per page (i.e., 128 KB sweep or one LargeObject sweep), so we check |
// the deadline per 10 pages. |
static const int deadlineCheckInterval = 10; |
@@ -342,7 +342,7 @@ bool BaseHeap::lazySweepWithDeadline(double deadlineSeconds) |
while (m_firstUnsweptPage) { |
sweepUnsweptPage(); |
if (pageCount % deadlineCheckInterval == 0) { |
- if (deadlineSeconds <= Platform::current()->monotonicallyIncreasingTime()) { |
+ if (deadlineSeconds <= Platform::current()->monotonicallyIncreasingTimeSeconds()) { |
// Deadline has come. |
Heap::reportMemoryUsageForTracing(); |
return !m_firstUnsweptPage; |