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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 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

Powered by Google App Engine
This is Rietveld 408576698