Index: third_party/WebKit/Source/core/fileapi/Blob.h |
diff --git a/third_party/WebKit/Source/core/fileapi/Blob.h b/third_party/WebKit/Source/core/fileapi/Blob.h |
index 604ce85ab1cc094313fedbaef7825f81d7877ded..285304a16aab8df1e8c38b16de5d9a2d50bbc992 100644 |
--- a/third_party/WebKit/Source/core/fileapi/Blob.h |
+++ b/third_party/WebKit/Source/core/fileapi/Blob.h |
@@ -37,6 +37,7 @@ |
#include "core/dom/DOMArrayBuffer.h" |
#include "core/dom/DOMArrayBufferView.h" |
#include "core/html/URLRegistry.h" |
+#include "core/imagebitmap/ImageBitmapSource.h" |
#include "platform/blob/BlobData.h" |
#include "platform/heap/Handle.h" |
#include "wtf/PassRefPtr.h" |
@@ -49,7 +50,7 @@ class BlobPropertyBag; |
class ExceptionState; |
class ExecutionContext; |
-class CORE_EXPORT Blob : public GarbageCollectedFinalized<Blob>, public ScriptWrappable, public URLRegistrable { |
+class CORE_EXPORT Blob : public GarbageCollectedFinalized<Blob>, public ScriptWrappable, public URLRegistrable, public ImageBitmapSource { |
DEFINE_WRAPPERTYPEINFO(); |
public: |
static Blob* create(ExceptionState&) |
@@ -100,6 +101,9 @@ public: |
// URLRegistrable to support PublicURLs. |
URLRegistry& registry() const final; |
+ // ImageBitmapSource implementation |
+ bool isBlob() const override { return true; } |
+ |
DEFINE_INLINE_TRACE() { } |
protected: |