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 e04ea2b304f96f0bc3e3c80e013ff43918bbac47..f6a95122114107a64b01f6fecbe2074405175285 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp |
@@ -561,11 +561,9 @@ void HTMLCanvasElement::toBlob(FileCallback* callback, const String& mimeType, c |
RefPtr<DOMUint8ClampedArray> imageDataRef(imageData->data()); |
RefPtr<CanvasAsyncBlobCreator> asyncCreatorRef = CanvasAsyncBlobCreator::create(imageDataRef.release(), encodingMimeType, imageData->size(), callback); |
- if (Platform::current()->isThreadedCompositingEnabled() && (encodingMimeType == DefaultMimeType)) { |
- asyncCreatorRef->scheduleAsyncBlobCreation(true); |
- } else { |
- asyncCreatorRef->scheduleAsyncBlobCreation(false, quality); |
- } |
+ |
+ // TODO(xlai): Remove idle-periods version of implementation completely, http://crbug.com/564218 |
+ asyncCreatorRef->scheduleAsyncBlobCreation(false, quality); |
} |
SecurityOrigin* HTMLCanvasElement::securityOrigin() const |