Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(423)

Unified Diff: third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.h

Issue 1853743005: Oilpan: Remove WillBe types (part 13) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698