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

Unified Diff: third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.h

Issue 1614173002: Removal all idle-task implementations in toBlob (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased with master Created 4 years, 11 months 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/core/html/canvas/CanvasAsyncBlobCreator.h
diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.h b/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.h
index d06a8439091fd2d35ad98aa4f1d2f13cec112235..ccda72adeb748d76918f75cc2194211d58490f22 100644
--- a/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.h
+++ b/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.h
@@ -21,7 +21,7 @@ class CORE_EXPORT CanvasAsyncBlobCreator
: public RefCounted<CanvasAsyncBlobCreator> {
public:
static PassRefPtr<CanvasAsyncBlobCreator> create(PassRefPtr<DOMUint8ClampedArray> unpremultipliedRGBAImageData, const String& mimeType, const IntSize&, BlobCallback*, ExecutionContext*);
- void scheduleAsyncBlobCreation(bool canUseIdlePeriodScheduling, double quality = 0.0);
+ void scheduleAsyncBlobCreation(double quality = 0.0);
virtual ~CanvasAsyncBlobCreator();
protected:
@@ -47,10 +47,6 @@ private:
RefPtr<CanvasAsyncBlobCreator> m_selfRef;
void clearSelfReference();
- void initiatePngEncoding(double deadlineSeconds);
- void scheduleIdleEncodeRowsPng();
- void idleEncodeRowsPng(double deadlineSeconds);
-
void createBlobAndCall();
void encodeImageOnEncoderThread(double quality);

Powered by Google App Engine
This is Rietveld 408576698