| Index: Source/core/html/HTMLCanvasElement.cpp
|
| diff --git a/Source/core/html/HTMLCanvasElement.cpp b/Source/core/html/HTMLCanvasElement.cpp
|
| index 492c0912d8324e6ebe948f49ab2677f6f9dea79e..6dc6f92d1556336a741cd0d237d79c7bb972ab68 100644
|
| --- a/Source/core/html/HTMLCanvasElement.cpp
|
| +++ b/Source/core/html/HTMLCanvasElement.cpp
|
| @@ -574,7 +574,7 @@ void HTMLCanvasElement::toBlob(FileCallback* callback, const String& mimeType, c
|
| ImageDataBuffer(imageData->size(), imageData->data()->data()).encodeImage(encodingMimeType, qualityPtr, &encodedImage);
|
| resultBlob = File::create(encodedImage.data(), encodedImage.size(), encodingMimeType);
|
|
|
| - Platform::current()->mainThread()->postTask(FROM_HERE, bind(&FileCallback::handleEvent, callback, resultBlob));
|
| + Platform::current()->mainThread()->taskRunner()->postTask(FROM_HERE, bind(&FileCallback::handleEvent, callback, resultBlob));
|
| }
|
|
|
| SecurityOrigin* HTMLCanvasElement::securityOrigin() const
|
|
|