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

Unified Diff: third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp

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/HTMLCanvasElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
index 85f5d4e1e5d29d5ba45d9c62987d537e0bef5296..bf78b7a96810d9d098860f2040cb28fbf387476d 100644
--- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
@@ -611,8 +611,7 @@ void HTMLCanvasElement::toBlob(ScriptState* scriptState, BlobCallback* callback,
RefPtr<CanvasAsyncBlobCreator> asyncCreatorRef = CanvasAsyncBlobCreator::create(imageDataRef.release(), encodingMimeType, imageData->size(), callback, scriptState->executionContext());
- // TODO(xlai): Remove idle-periods version of implementation completely, http://crbug.com/564218
- asyncCreatorRef->scheduleAsyncBlobCreation(false, quality);
+ asyncCreatorRef->scheduleAsyncBlobCreation(quality);
}
void HTMLCanvasElement::addListener(CanvasDrawListener* listener)

Powered by Google App Engine
This is Rietveld 408576698