Index: Source/modules/imagebitmap/ImageBitmapFactories.cpp |
diff --git a/Source/modules/imagebitmap/ImageBitmapFactories.cpp b/Source/modules/imagebitmap/ImageBitmapFactories.cpp |
index 8cf3f06670494894b0743c21934710929c4cc1d7..a24decec24925695d49b25ac27c593aa88be7005 100644 |
--- a/Source/modules/imagebitmap/ImageBitmapFactories.cpp |
+++ b/Source/modules/imagebitmap/ImageBitmapFactories.cpp |
@@ -37,6 +37,7 @@ |
#include "bindings/v8/ExceptionState.h" |
#include "bindings/v8/ScriptScope.h" |
#include "bindings/v8/ScriptState.h" |
+#include "core/fileapi/Blob.h" |
#include "core/html/HTMLCanvasElement.h" |
#include "core/html/HTMLImageElement.h" |
#include "core/html/HTMLVideoElement.h" |
@@ -315,7 +316,7 @@ ImageBitmapFactories::ImageBitmapLoader::ImageBitmapLoader(ImageBitmapFactories* |
void ImageBitmapFactories::ImageBitmapLoader::loadBlobAsync(ExecutionContext* context, Blob* blob) |
{ |
- m_loader.start(context, *blob); |
+ m_loader.start(context, blob->blobDataHandle()); |
} |
void ImageBitmapFactories::ImageBitmapLoader::rejectPromise() |