| 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 cfcd5c7f6f7f65b4bf8ef185ac55b51f816fc1d2..e435b8704e8127cac6835d34addd9b4847eb76f4 100644
|
| --- a/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp
|
| +++ b/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp
|
| @@ -16,6 +16,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 {
|
| @@ -28,7 +29,7 @@ const int LongTaskImageSizeThreshold = 1000 * 1000; // The max image size we exp
|
|
|
| bool isDeadlineNearOrPassed(double deadlineSeconds)
|
| {
|
| - return (deadlineSeconds - SlackBeforeDeadline - Platform::current()->monotonicallyIncreasingTimeSeconds() <= 0);
|
| + return (deadlineSeconds - SlackBeforeDeadline - monotonicallyIncreasingTime() <= 0);
|
| }
|
|
|
| } // anonymous namespace
|
|
|