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 637100d5f8eb42d30327a9ce160010aaeeb1702a..cfd6e1ba06a28a56ff5b3a97e5984686ed2df607 100644 |
--- a/third_party/WebKit/Source/platform/heap/HeapPage.cpp |
+++ b/third_party/WebKit/Source/platform/heap/HeapPage.cpp |
@@ -46,6 +46,7 @@ |
#include "public/platform/WebProcessMemoryDump.h" |
#include "wtf/Assertions.h" |
#include "wtf/ContainerAnnotations.h" |
+#include "wtf/CurrentTime.h" |
#include "wtf/LeakAnnotations.h" |
#include "wtf/MainThread.h" |
#include "wtf/PageAllocator.h" |
@@ -339,7 +340,7 @@ bool BaseHeap::lazySweepWithDeadline(double deadlineSeconds) |
while (m_firstUnsweptPage) { |
sweepUnsweptPage(); |
if (pageCount % deadlineCheckInterval == 0) { |
- if (deadlineSeconds <= Platform::current()->monotonicallyIncreasingTimeSeconds()) { |
+ if (deadlineSeconds <= monotonicallyIncreasingTime()) { |
// Deadline has come. |
Heap::reportMemoryUsageForTracing(); |
return !m_firstUnsweptPage; |