[webkit-changes] [WebKit/WebKit] b39fe5: Adopt more smart pointers in ImageLoader

Rob Buis noreply at github.com
Tue Aug 13 00:31:39 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b39fe58ededffb0ebbcff8308b27849ae1466200
      https://github.com/WebKit/WebKit/commit/b39fe58ededffb0ebbcff8308b27849ae1466200
  Author: Rob Buis <rbuis at igalia.com>
  Date:   2024-08-13 (Tue, 13 Aug 2024)

  Changed paths:
    M Source/WebCore/dom/ScriptExecutionContext.cpp
    M Source/WebCore/dom/ScriptExecutionContext.h
    M Source/WebCore/loader/ImageLoader.cpp
    M Source/WebCore/loader/ImageLoader.h

  Log Message:
  -----------
  Adopt more smart pointers in ImageLoader
https://bugs.webkit.org/show_bug.cgi?id=276605

Reviewed by Ryosuke Niwa.

Adopt smart pointers for ImageLoader based on [alpha.webkit.UncountedCallArgsChecker] warnings.

* Source/WebCore/dom/ScriptExecutionContext.cpp:
(WebCore::ScriptExecutionContext::activeServiceWorker const): Deleted.
* Source/WebCore/dom/ScriptExecutionContext.h:
(WebCore::ScriptExecutionContext::activeServiceWorker const):
* Source/WebCore/loader/ImageLoader.cpp:
(WebCore::canReuseFromListOfAvailableImages):
(WebCore::ImageLoader::updateFromElement):
(WebCore::ImageLoader::notifyFinished):
(WebCore::ImageLoader::decode):
(WebCore::ImageLoader::resetLazyImageLoading):
(WebCore::ImageLoader::shouldIgnoreCandidateWhenLoadingFromArchive const):
* Source/WebCore/loader/ImageLoader.h:
(WebCore::ImageLoader::protectedDocument):

Canonical link: https://commits.webkit.org/282159@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