[webkit-changes] [WebKit/WebKit] 64e424: Image::isPDFResource() is unused

Kimmo Kinnunen noreply at github.com
Thu Jan 23 22:51:48 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 64e424bbcf7efd6db986fa9fd0b72f8a1b22f4d5
      https://github.com/WebKit/WebKit/commit/64e424bbcf7efd6db986fa9fd0b72f8a1b22f4d5
  Author: Kimmo Kinnunen <kkinnunen at apple.com>
  Date:   2025-01-23 (Thu, 23 Jan 2025)

  Changed paths:
    M Source/WebCore/loader/cache/CachedImage.cpp
    M Source/WebCore/loader/cache/CachedImage.h
    M Source/WebCore/platform/graphics/Image.cpp
    M Source/WebCore/platform/graphics/Image.h

  Log Message:
  -----------
  Image::isPDFResource() is unused
https://bugs.webkit.org/show_bug.cgi?id=286419
rdar://143477277

Reviewed by Anne van Kesteren.

Remove Image::isPDFResource() and CachedImage caller, there is no caller
for the caller. Having unused functions make the Image interface
modification harder.

* Source/WebCore/platform/graphics/Image.cpp:
(WebCore::isPDFResource):
(WebCore::Image::isPDFResource): Deleted.
* Source/WebCore/platform/graphics/Image.h:

Canonical link: https://commits.webkit.org/289331@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list