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

Unified Diff: third_party/WebKit/Source/platform/heap/HeapPage.cpp

Issue 1550563002: Blink Platform: Remove time functions from Platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
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 48fef56bb8d22195b33ce7ad3b0c8a15ffeb2b25..44d74dd28995f8cb139f9229b28721cd7e71ba9c 100644
--- a/third_party/WebKit/Source/platform/heap/HeapPage.cpp
+++ b/third_party/WebKit/Source/platform/heap/HeapPage.cpp
@@ -339,7 +339,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;

Powered by Google App Engine
This is Rietveld 408576698