| 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 006f67e7ff0e6b944e7359bd229fdd27af3bce70..fd63a8c4c28799f5b87de40cc57d89f3b1e1f93c 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
|
| @@ -674,7 +674,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, wrapPersistent(callback), nullptr));
|
| return;
|
| }
|
|
|
|
|