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 239626d193534c2fb510e72ec480f98664aa5450..68918c8600b0ec5cb5947c26a9f91e184d9f24a0 100644 |
--- a/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.h |
+++ b/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.h |
@@ -55,10 +55,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&); |
@@ -104,7 +102,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; |
@@ -118,7 +116,7 @@ private: |
void addLoader(ImageBitmapLoader*); |
void didFinishLoading(ImageBitmapLoader*); |
- PersistentHeapHashSetWillBeHeapHashSet<Member<ImageBitmapLoader>> m_pendingLoaders; |
+ HeapHashSet<Member<ImageBitmapLoader>> m_pendingLoaders; |
}; |
} // namespace blink |