| 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 ceebfd501035a0a9f250aa662cfd7ee32b70fdf8..2567aa4044b492410a9bc5267b8f47c88b787074 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
|
| @@ -661,7 +661,7 @@ void HTMLCanvasElement::toBlob(BlobCallback* callback, const String& mimeType, c
|
|
|
| if (!isPaintable()) {
|
| // If the canvas element's bitmap has no pixels
|
| - Platform::current()->mainThread()->getWebTaskRunner()->postTask(BLINK_FROM_HERE, bind(&BlobCallback::handleEvent, callback, nullptr));
|
| + Platform::current()->mainThread()->getWebTaskRunner()->postTask(BLINK_FROM_HERE, bind(&BlobCallback::handleEvent, wrapCrossThreadPersistent(callback), nullptr));
|
| return;
|
| }
|
|
|
|
|