Commit 03302fa3 authored by Minoru Chikamune's avatar Minoru Chikamune Committed by Commit Bot

Remove an unnecessary prefinalizer from ImageDownloaderImpl.

HeapMojo wrappers can reset the mojo objects automatically.
So no need to reset mojo objects in prefinalizer again.

Bug: 1049056
Change-Id: Ib7276458a9edf9372f4d7cbae13cfa7ceae267ba
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2217720Reviewed-by: default avatarKouhei Ueno <kouhei@chromium.org>
Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Commit-Queue: Minoru Chikamune <chikamune@chromium.org>
Cr-Commit-Position: refs/heads/master@{#772982}
parent 9559646b
......@@ -24,7 +24,6 @@ class ImageDownloaderImpl final : public GarbageCollected<ImageDownloaderImpl>,
public Supplement<LocalFrame>,
public ExecutionContextLifecycleObserver,
public mojom::blink::ImageDownloader {
USING_PRE_FINALIZER(ImageDownloaderImpl, Dispose);
USING_GARBAGE_COLLECTED_MIXIN(ImageDownloaderImpl);
public:
......@@ -68,8 +67,6 @@ class ImageDownloaderImpl final : public GarbageCollected<ImageDownloaderImpl>,
void CreateMojoService(
mojo::PendingReceiver<mojom::blink::ImageDownloader> receiver);
// USING_PRE_FINALIZER interface.
// Called before the object gets garbage collected.
void Dispose();
// Requests to fetch an image. When done, the image downloader is notified by
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment