| 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 49faf885302dc91f6468ec6e51373d64c92039e4..8f4f9504f244fb4b8fa507fab8980a9dafd13c80 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
|
| @@ -624,7 +624,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, retainedRef(callback), nullptr));
|
| return;
|
| }
|
|
|
|
|