| Index: third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.h
|
| diff --git a/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.h b/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.h
|
| index 90d9acec0a02fece6dc07688bffbc122f6f56aee..ae3eb8b7497d7d98c343f21138d9fd3927b04789 100644
|
| --- a/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.h
|
| +++ b/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.h
|
| @@ -54,10 +54,8 @@ class WebTaskRunner;
|
|
|
| typedef HTMLImageElementOrHTMLVideoElementOrHTMLCanvasElementOrBlobOrImageDataOrImageBitmap ImageBitmapSourceUnion;
|
|
|
| -class ImageBitmapFactories final : public NoBaseWillBeGarbageCollectedFinalized<ImageBitmapFactories>, public WillBeHeapSupplement<LocalDOMWindow>, public WillBeHeapSupplement<WorkerGlobalScope> {
|
| - WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(ImageBitmapFactories);
|
| - USING_FAST_MALLOC_WILL_BE_REMOVED(ImageBitmapFactories);
|
| -
|
| +class ImageBitmapFactories final : public GarbageCollectedFinalized<ImageBitmapFactories>, public HeapSupplement<LocalDOMWindow>, public HeapSupplement<WorkerGlobalScope> {
|
| + USING_GARBAGE_COLLECTED_MIXIN(ImageBitmapFactories);
|
| public:
|
| static ScriptPromise createImageBitmap(ScriptState*, EventTarget&, const ImageBitmapSourceUnion&, ExceptionState&);
|
| static ScriptPromise createImageBitmap(ScriptState*, EventTarget&, const ImageBitmapSourceUnion&, const ImageBitmapOptions&, ExceptionState&);
|
| @@ -103,7 +101,7 @@ private:
|
| void didFail(FileError::ErrorCode) override;
|
|
|
| FileReaderLoader m_loader;
|
| - RawPtrWillBeMember<ImageBitmapFactories> m_factory;
|
| + Member<ImageBitmapFactories> m_factory;
|
| Member<ScriptPromiseResolver> m_resolver;
|
| IntRect m_cropRect;
|
| ImageBitmapOptions m_options;
|
| @@ -117,7 +115,7 @@ private:
|
| void addLoader(ImageBitmapLoader*);
|
| void didFinishLoading(ImageBitmapLoader*);
|
|
|
| - PersistentHeapHashSetWillBeHeapHashSet<Member<ImageBitmapLoader>> m_pendingLoaders;
|
| + HeapHashSet<Member<ImageBitmapLoader>> m_pendingLoaders;
|
| };
|
|
|
| } // namespace blink
|
|
|