Index: third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp |
diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp b/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp |
index 4158ea908d2ce9e5e9d5f629d8b74efe7b164f10..5085af2a18759c6026795a88cc893384e64f5ee6 100644 |
--- a/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp |
+++ b/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp |
@@ -14,6 +14,7 @@ |
#include "public/platform/WebTaskRunner.h" |
#include "public/platform/WebThread.h" |
#include "public/platform/WebTraceLocation.h" |
+#include "wtf/CurrentTime.h" |
#include "wtf/Functional.h" |
namespace blink { |
@@ -25,7 +26,7 @@ const int NumChannelsPng = 4; |
bool isDeadlineNearOrPassed(double deadlineSeconds) |
{ |
- return (deadlineSeconds - SlackBeforeDeadline - Platform::current()->monotonicallyIncreasingTimeSeconds() <= 0); |
+ return (deadlineSeconds - SlackBeforeDeadline - monotonicallyIncreasingTime() <= 0); |
} |
} // anonymous namespace |